Update .vscode/settings.json (#8425)

* Update .vscode/settings.json

The "files.useExperimentalFileWatcher" setting was deprecated at some point. I tried to add "files.watcherExcluded" to see if this will help with the extreme CPU usage issues on macOS. Also removed the "buck" exclusions since we don't use buck anymore as far as I know. And I added node_modules exclusions because that seems like a sensible thing to exclude.

changelog_begin
changelog_end

* make it valid JSON
This commit is contained in:
Sofia Faro 2021-01-07 14:32:33 +00:00 committed by GitHub
parent 440b17af24
commit 5234f8a544
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
.vscode/settings.json vendored
View File

@ -1,12 +1,22 @@
{
"editor.tabSize": 4,
// Otherwise Mac users get 200% CPU usage
"files.useExperimentalFileWatcher": true,
"files.exclude": {
"**/.git": true,
"dev-env/lib/*": true,
"buck-out/*": true,
"bazel-*/*": true,
".bazel-cache/*": true,
"**/node_modules/*": true
},
"files.watcherExclude": {
"**/.stack-work": true,
"**/*.hi": true,
"**/*.dyn_hi": true,
"**/workspaces/*": true,
"**/.git": true,
"dev-env/lib/*": true,
"bazel-*/*": true,
".bazel-cache/*": true,
"**/node_modules/*": true
},
"search.exclude": {
"**/.stack-work": true,
@ -14,8 +24,8 @@
"**/*.dyn_hi": true,
"**/workspaces/*": true,
"dev-env/lib/*": true,
"buck-out/*": true,
"bazel-*/*": true,
".bazel-cache": true
},
"[restructuredtext]": {
"editor.wordWrap": "wordWrapColumn",