DEV Community

James Thomson
James Thomson

Posted on • Updated on

Sublime 3: Goto Anything... Tip

If you use Sublime 3 you're likely used to using Goto Anything... (CMD+P Mac, CTRL+P Windows) to quickly bring up files. One downside is this will bring up vendor and compiled files as well. This really isn't ideal. So to fix this you can exclude these directories.

Open up your user settings and add this line:

"binary_file_patterns": ["node_modules/", "public/", "vendor/", "*.jpg", "*.jpeg", "*.png", "*.gif", "*.ttf", "*.tga", "*.dds", "*.ico", "*.eot", "*.pdf", "*.swf", "*.jar", "*.zip"],
Enter fullscreen mode Exit fullscreen mode

If you add other folders, just be sure to suffix them with a "/".

Then save the file and you should be good to go.

As always, happy coding! 🤓

Top comments (0)