X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Fsettings.json;h=1eb0fa51eed50ebae1953eb95367eec8de7c6c7c;hb=4695ce02620407a5074125eaa5b257dd0e73758a;hp=c1d3b4d19898953654486f4f856e4b00d7116376;hpb=ee66af78c42c4d7ff33f104415bc09d60dbdc27b;p=src%2Fxds%2Fxds-agent.git diff --git a/.vscode/settings.json b/.vscode/settings.json index c1d3b4d..1eb0fa5 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,12 +2,12 @@ { // Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true. "go.gopath": "${workspaceRoot}/../../../../../..", - - // Controls the rendering size of tabs in characters. - // If set to auto, the value will be guessed based on the opened file. - "editor.tabSize": 2, + // The number of spaces a tab is equal to. This setting is overriden based on the file contents when `editor.detectIndentation` is on. + "editor.tabSize": 4, // Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on. "editor.insertSpaces": true, + // When opening a file, `editor.tabSize` and `editor.insertSpaces` will be detected based on the file contents. + "editor.detectIndentation": true, // .jsbeautifyrc not at root directory but under webapp/ "beautify.config": "webapp/.jsbeautifyrc", // Configure glob patterns for excluding files and folders. @@ -20,7 +20,7 @@ "bin": true, "tools": true, "webapp*/dist": true, - "webapp*/node_modules": true + "**/node_modules": true, }, // Specify paths/files to ignore. (Supports Globs) "cSpell.ignorePaths": [