2018-12-20 12:12:51 -08:00
|
|
|
{
|
2019-03-28 17:20:02 +02:00
|
|
|
// Format js and ts files on save with `clang-format.executable`
|
|
|
|
// If `clang-format.executable` is not being used, these two settings should be removed otherwise it will break existing formatting.
|
|
|
|
// You can instead run `yarn gulp format` to manually format your code.
|
2019-02-17 15:10:32 +02:00
|
|
|
"[javascript]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
|
|
|
"[typescript]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
2019-02-17 15:23:53 +02:00
|
|
|
// Please install https://marketplace.visualstudio.com/items?itemName=xaver.clang-format to take advantage of `clang-format` in VSCode.
|
|
|
|
// (See https://clang.llvm.org/docs/ClangFormat.html for more info `clang-format`.)
|
2019-01-24 11:00:52 -08:00
|
|
|
"clang-format.executable": "${workspaceRoot}/node_modules/.bin/clang-format",
|
2019-03-28 17:20:02 +02:00
|
|
|
// Exclude third party modules and build artifacts from the editor watchers/searches.
|
2018-12-20 12:12:51 -08:00
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/node_modules/**": true,
|
|
|
|
"**/bazel-out/**": true,
|
|
|
|
"**/dist/**": true,
|
2019-03-14 12:56:45 +02:00
|
|
|
"**/aio/src/generated/**": true,
|
2018-12-20 12:12:51 -08:00
|
|
|
},
|
|
|
|
"search.exclude": {
|
|
|
|
"**/node_modules": true,
|
|
|
|
"**/bower_components": true,
|
|
|
|
"**/bazel-out": true,
|
|
|
|
"**/dist": true,
|
2019-03-14 12:56:45 +02:00
|
|
|
"**/aio/src/generated": true,
|
2020-07-17 11:43:46 -07:00
|
|
|
".history": true,
|
2018-12-20 12:12:51 -08:00
|
|
|
},
|
2019-02-08 22:10:19 +00:00
|
|
|
"git.ignoreLimitWarning": true,
|
2020-07-17 11:43:46 -07:00
|
|
|
}
|