Hide files/folders on my search but not in my side bar
search, sublimetext, sublimetext3
Solution
For me, using Sublime 3 build 3083 `binary_file_patterns` was not working while I had the setting in the `project.sublime-project` file. Once I moved it to my Preferences.sublime-settings and added an '*' to the search it started excluding the folder from search results while leaving it in the sidebar. My Preferences.sublime-settings looks like so:
"binary_file_patterns":
[
"public/bower_components/*",
"public/javascripts/vendor/*",
"public-built/*"
],
and it works beautifully for me in sublime 3.
Also talked about in this post: http://blog.lysender.com/2014/08/sublime-text-exclude-files-or-directories-from-go-to-anything-feature/
Problem
I'm using sublime text 3 and I want to exclude files/directories but not in my sidebar. For example... I have those files: - /doc/blabla/event.rb with the text some content in it. - /app/event.rb with the text other content in it. So, with Ctrl + P (find files) and writing "event" I want to see only /app/event.rb. and, with Ctrl + Shift + F (find in all files) and writing "content" I want to see results, again, only for /app/event.rb I configure sublime with this values into my Preferences.sublime-settings: ``` "folder_exclude_patterns": ["doc"], ``` this works beautifully but, it hides doc directory from sidebar too. I don't want this behavior. I only want to hide files from my search