Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow restricting the scope of the ignoring to just the CTRL-P menu #6

Open
ExplodingCabbage opened this issue Jul 5, 2014 · 2 comments

Comments

@ExplodingCabbage
Copy link
Owner

At the moment, we exclude Git-ignored files from the entire project; you see them disappear from the folder view in the left sidebar. This may not always be desirable.

Some folks might want to only exclude them from CTRL-SHIFT-F or CTRL-P searches.

Manually handling exclusion from CTRL-SHIFT-F searches is, I think, possible with some beautiful hacks involving detecting search views by their syntax highlighting and then listening for changes to their content, parsing it, and stripping out blocks relating to ignored files.

I have no idea if excluding files from CTRL-P searches is possible without excluding them from the whole project, though. It may well simply not be.

@ExplodingCabbage
Copy link
Owner Author

I have no idea how to exclude files only from the CTRL-P menu without excluding them from the sidebar. I believe this is impossible. If anybody with a better knowledge of Sublime's API swings by and thinks otherwise, I would welcome being proved wrong.

@evenfrost
Copy link

Hey, I don't really know Sublime API, but binary_file_patterns setting can exclude files from Pallete but not the sidebar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants