dhulihan
dhulihan

Reputation: 11303

Exclude sidebar directory from Go To Anything

Is there a way to keep a project directory in the sidebar, but exclude it from Go To Anything (Ctrl+P) ?

Upvotes: 0

Views: 64

Answers (1)

SEJBR
SEJBR

Reputation: 369

You should be able to do it in settings.

Try adding the project directory to "binary_file_patterns" like this (Edit it to match your directories.):

"binary_file_patterns": ["folder_name/*", "*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],

Everything from binary_file_patterns should be visible in the sidebar but not show up under Go To Anything.

Upvotes: 1

Related Questions