SublimeFileBrowser
SublimeFileBrowser copied to clipboard
Exclude files based on `.sublime-settings` and `.project-settings` files ?
Why not using the patterns defined in folder_exclude_patterns and file_exclude_patterns (plus folder_exclude_patterns and file_exclude_patterns if inside a project) to filter files instead of relying on dired_hidden_files_patterns ?
Then exe and psd files will be hidden by default, but you can launch them with space, so it might be not desirable to hide them.
Maybe as an option, I dunno.
Couldn’t those files still be shown if needed with "include_file_patterns": ['*.exe', '*.psd'] inside the project‘s settings file? With a flag disabled by default it wouldn’t bite anyone.
Even as an option shouldn't be on by default. let's keep this plugin closer to a file browser rather than a sidebar. Sublime will eventually add more features to the sidebar but file browsing features of this plugin will always be unique.
I’m not trying to mimic the sidebar, I use and like this plugin precisely because of those great file browsing features (great job btw !). I’m just confused by the upsides of using dired_hidden_files_patterns instead of taking advantage of the patterns that may already be defined inside the user’s preferences or project’s settings. Of course it shouldn’t be enabled by default. I could take a stab at it if can help !
We appreciate any PR. I don't mind having a settings to integrate with sublime ignored files.
It would be nice to exclude files based on .gitignore file as well. Maybe by using one more option