Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked December 20th 2011 by James McParlane
  • folder
  • ignore
  • search
  • studio
  • subversion
0 Comments

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)

    — answered April 3rd 2012 by Ingo Muschenetz
    permalink
    0 Comments
  • 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).

    See here

    — answered December 20th 2011 by Sharry Stowell
    permalink
    1 Comment
    • No sorry, that will

      1. Only work with git
      2. Only tells git what files to ignore when adding/checking in, not what folders Titanium Studio should not search in.

      — commented January 4th 2012 by James McParlane
  • 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.

    — answered January 4th 2012 by Simon Jackson
    permalink
    2 Comments
    • Thanks.. that helped me to a search and replace, but it does not help for a quick search from the project view..

      Also I have a lot of folders so a lot of .svn folders - so this takes a few minutes to set up and I have to keep updating it as I add folders.

      Does not solve my real problem, but the best answer yet.

      Thanks

      — commented January 7th 2012 by James McParlane
    • This worked for me too.

      — commented April 3rd 2012 by Andrea Mc3
  • Can you install Git on a Windows machine to act as a repository? I've heard its better than SVN

    — answered December 20th 2011 by Josh Lewis
    permalink
    2 Comments
    • Yep, see here buddy.

      — commented December 20th 2011 by Sharry Stowell
    • Yes I could, but the project I am working on is using SVN.
      I use git for other projects when I can, but this company still uses SVN.

      — commented January 4th 2012 by James McParlane
  • 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!

    — answered April 6th 2012 by Manuel Fittko
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.