In the official documentation following is stated:
"index_include_patterns"array of stringsPatterns of files to index in the folder. This is added to the global setting of the same name. Anything not matching these patterns will be excluded from the index. This is checked before
"index_exclude_patterns".
I have two observations relating to this:
- There is no global setting
"index_include_patterns"according to my Data/Packages/Default/Preferences.sublime-settings file. - I believe this actually overrides the globally valid list of include patterns.
I’ve tested following:
- Open a project without any
"index_include_patterns"setting set. - Press Ctrl+Shift+R - a long list of indexed symbols appear
- Add
"index_include_patterns": ["*.xxx"]to your project settings. - Press Ctrl+Shift+R - an empty list appears