Created
October 17, 2020 16:22
-
-
Save KRTirtho/865b9199cef6d3cfb782de3905a86fbd to your computer and use it in GitHub Desktop.
Excluding file watchers & search indexing in unintended folders and files in Visula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add following lines of code to exclude the files & folders which aren't important for watchers to look for changes... | |
{ | |
//exludes fies & folders in search indexing | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"**/env": true, | |
"**/venv": true | |
}, | |
//exludes fies & folders for watcher service | |
"files.watcherExclude": { | |
"**/.git/objects/**": true, | |
"**/.git/subtree-cache/**": true, | |
"**/node_modules/**": true, | |
"**/env/**": true, | |
"**/venv/**": true, | |
"env-*": true | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment