How to tell TM2 browser not to show specific folders

I already have a .tm_properties file that includes the following lines:

excludeInFileChooser = "{$excludeInFileChooser,log,vendor,tmp,META-INF,.svn}" excludeInBrowser = "{$excludeInBrowser,log,vendor,tmp,META-INF,.svn}" excludeInFolderSearch = "{$excludeInFolderSearch,log,vendor,tmp,META-INF,.svn}" 

In particular, I do not want to see the META-INF and .svn folders.

+6
source share
2 answers

I don’t see anything wrong with what you have, and .svn should be hidden by default, so it’s worth checking that you do not have “Show hidden items” in the file browser transfer menu.

As an additional tip, if you want to exclude from the outside, it is easier to just use exclude instead of three separate commands.

 exclude = '{$exclude,log,vendor,tmp,META-INF,.svn}' 

It's also worth checking that you haven't done anything in your .tm_properties home directory, which splits the .tm_properties project

+3
source

I see an excludeDirectoriesInBrowser option in my .tm_properties. I think you can use this one.

Also a more detailed list and explanation of the properties that can be used in .tm_properties here:

https://gist.github.com/1478685

+1
source

Source: https://habr.com/ru/post/908999/


All Articles