Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

indexing in Sublime Text 3

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.

like image 865
Ya Basha Avatar asked Oct 25 '15 12:10

Ya Basha


Video Answer


1 Answers

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

like image 140
antoine129 Avatar answered Oct 13 '22 07:10

antoine129