Sublime 3: Goto Anything... Tip

twitter logo Updated on ・1 min read

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"],

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! πŸ€“

twitter logo DISCUSS
Classic DEV Post from May 6

Thoughts on legacy code, diversity and inclusion

TLDR; If you're still dropping snarky commentaries about PHP on Twitter, just grow up already.

James Thomson profile image
Just another front-end web dev junkie