Right now when I use ⌘+O to search for files, the fuzzy matching appears to operate over all files in the current project. Unfortunately, this includes a number of files from build and vendor directories. So, for instance, if I want to search for all JavaScript files and do ⌘+O and type .js
in, the file and symbol results include around 1500 hits and all of them except the two ones are complete noise.
Is there a way to specify certain directories to be ignored for purpose of search?
This answer is outdated
If these are folders you want to ignore in a certain workspace, you can go to:
AppMenu > Preferences > Workspace Settings
Otherwise, if you want these folders to be ignored in all your workspaces, go to:
AppMenu > Preferences > User Settings
and add the following to your configuration:
The difference between workspace and user settings is explained in the customization docs
I'm an idiot so it took me a while to realize this, but make sure that the Gear icon is clicked on the global search so your settings can be applied.