How do I stop Titanium Studio from searching .svn folders
When I use search, I keep getting results from inside .svn folders when the project I am working on is using subversion.
How do I configure Titanium Studio to ignore these directories please?
Thanks.
5 Answers
-
Accepted Answer
The best suggestions I've seen for this are:
Project -> Properties -> Resource -> Resource Filters and then add an "exclude" filter for type "Folder" with name ".svn".
Also, "derived" items are excluded from search. Right click on a folder, go to properties, and mark a folder as derived.
Some people also suggest that .svn folders won't actually be hidden until the project is shared. Either way, this is a setting controlled by the SVN plugin itself (not Studio)
-
I use git rather than SVN but I'm sure its the same process.
In the project Explorer (File) window, right click on your selected file/folder, then select 'Team', then 'Add to .gitignore' (not sure what would be there in your SVN case though I'm afraid buddy).
-
In the search dialog, at the bottom is the scope section. Define a Resource Working set, and select the folder where you want to start, then you can navigate down the tree and deselect your .svn folders. Its not a nice wildcard based solution but it will work. I use it to exclude the build folders.
-
Can you install Git on a Windows machine to act as a repository? I've heard its better than SVN
-
Project -> Properties -> Resource -> Resource Filters
is a great hint, didn't know :) I applied this to the build folder, so it won't be searched any more… thanks!