I started using Sublime Text 3 recently, I face a small issue that annoys me sublime text keep indexing files under node_modules
and bower_components
even after I excluded them in user settings:
{
"color_scheme": "Packages/1337 Color Scheme/1337.tmTheme",
"ignored_packages":
[
"Vintage"
],
"binary_file_patterns": [".idea/*", "bower_components/*", "node_modules/*"],
"index_files": true,
"index_exclude_patterns": [".idea/*", "bower_components/*", "node_modules/*"],
}
The above configuration removed the excluded folders from Goto Anything
but I still can find text inside files under those folders Find in Folder...
, please advice.
Another Question, how can I reset indexing in sublime text.
Try **
instead of *
(to match sub directories too), e.g.
"binary_file_patterns": [".idea/**", "bower_components/**", "node_modules/**"],
Works for me in ST3 build 3114
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With