Details
-
Suggestion
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 2.5.0-rc
-
None
-
1f8b2dc3610635f019b7fef8192171f4e085f814
Description
Hi, I've been doing some refactoring recently which requires searching
all files (so I catch cases of function use for other platforms),
But ran into the problem that ".svn" dirs are being searched too
which is fairly annoying (changing their contents by accident is bad,
generally causes disk thrashing, and clutters search results).
It would be really nice if there was some way to ignore directories on
the filesystem per project, netbeans and eclipse both do this.
failing that a global ignore string would be good too, could ignore .*
dirs by default for example so .git .hg .svn etc are ignored.
— reply from: eike.ziller@nokia.com
I suppose just adding a "Ignore file pattern" to the search panel for "Files on File System" filter would be sensible and easy to implement. Could you please create a task on bugreports.qt-project.org for that?
— reply from me:
Infact for this I do not want to ignore files at all, I want to ignore going into certain directories, though the ability to ignore ".*" (directories and files), would serve the purpose too.
Infact just having the option "omit hidden dirs" would be enough for pretty much most source control. (.git/.svn/.hg/.cvs).
So I'm not fussed how its done all that much but I would not want to have to set it each time, should be a project option IMHO. Netbeans does this quite well - for reference.