2018-12-20 15:12:51 -05:00
|
|
|
{
|
2019-03-28 11:20:02 -04: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 08:10:32 -05:00
|
|
|
"[javascript]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
|
|
|
"[typescript]": {
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
},
|
2019-02-17 08:23:53 -05: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 14:00:52 -05:00
|
|
|
"clang-format.executable": "${workspaceRoot}/node_modules/.bin/clang-format",
|
2019-03-28 11:20:02 -04:00
|
|
|
// Exclude third party modules and build artifacts from the editor watchers/searches.
|
2018-12-20 15:12:51 -05:00
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/node_modules/**": true,
|
|
|
|
"**/bazel-out/**": true,
|
|
|
|
"**/dist/**": true,
|
2019-03-14 06:56:45 -04:00
|
|
|
"**/aio/src/generated/**": true,
|
2018-12-20 15:12:51 -05:00
|
|
|
},
|
|
|
|
"search.exclude": {
|
|
|
|
"**/node_modules": true,
|
|
|
|
"**/bower_components": true,
|
|
|
|
"**/bazel-out": true,
|
|
|
|
"**/dist": true,
|
2019-03-14 06:56:45 -04:00
|
|
|
"**/aio/src/generated": true,
|
2018-12-20 15:12:51 -05:00
|
|
|
},
|
2019-02-08 17:10:19 -05:00
|
|
|
"git.ignoreLimitWarning": true,
|
2019-02-17 08:10:32 -05:00
|
|
|
}
|