Exclude directories from todo search

Is is possible to exlude some of the directories from TODO list? for example I am using Zend Framework for my projects and I am not interested in their todos.

5 comments
Comment actions Permalink

There's no such a feature. Feel free to file a request to http://youtrack.jetbrains.net/issues/WI

0
Comment actions Permalink

@Alexey
There is actually a way, which will work fine for the above requirements (exclude whole framework) -- see below. Please correct me if I'm wrong.

@Bill YILDIRIM
How did you linked Zend Framework into your project? I assume it is included in project (like, for example,  "yoursite.com\library\Zend") and is shown in top part of Project View window).

If so:
1) exlude that folder (whole Zend folder) from project (File -> Settings -> Directories).
2) File -> Settings -> PHP. Add Zend folder here (it will be shown in Project View window under "External Libraries" entry -- bottom part of Project View window)

Now you have the same functionality as before (in regards to code completion, go to source/definition etc), but TODO / Find Usages / Rename etc will not take Zend folder into an account.

EDIT:
Tested on simplest project (2 files total in 2 folders) -- works as expected (Win XP SP2 ENG, PS-98.21).

Message was edited by: Andriy Bazanov

0
Comment actions Permalink

Yep, I can confirm it works! Thanks a lot...

0
Comment actions Permalink

The library trick doesn't work for me (too much directories)... Filled a request... http://youtrack.jetbrains.net/issue/WI-3382

0

Please sign in to leave a comment.