From: Sebastien Douheret Date: Fri, 13 Jul 2018 15:38:42 +0000 (+0200) Subject: Rationalize VSCode settings for all xds repo X-Git-Tag: 5.99.3^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-cli.git;a=commitdiff_plain;h=35586adb40790f6b0b15c43d4bae86d29090736a Rationalize VSCode settings for all xds repo Change-Id: Ie1c91242fef9b49b1dc71707dd2546254792e649 Signed-off-by: Sebastien Douheret --- diff --git a/.vscode/settings.json b/.vscode/settings.json index b86deb9..ec95b48 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,49 +1,53 @@ // Place your settings in this file to overwrite default and user settings. { - // 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": false, + // 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}/../../../../../..", - // When opening a file, `editor.tabSize` and `editor.insertSpaces` will be detected based on the file contents. - "editor.detectIndentation": false, - // Configure glob patterns for excluding files and folders. - "files.exclude": { - "**/.tmp": true, - ".git": true, - "glide.lock": true, - "vendor": true, - "debug": true, - "bin": true, - "tools": true - }, - // Words to add to dictionary for a workspace. - "cSpell.words": [ - "apiv", - "iosk", - "zhouhui", - "ldflags", - "socketio", - "xdsconfig", - "sdkid", - "godotenv", - "crosssdk", - "prjs", - "xaapiv", - "urfave", - "sebd", - "golib", - "joho", - "XDSAGENT", - "reflectme", - "franciscocpg", - "gerrit", - "EVTSDK", - "tgts", - "sigs", - "rdfs", - "goselect", - "creack", - "Sillyf" - ] + // 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, + + // Configure glob patterns for excluding files and folders. + "files.exclude": { + "**/.tmp": true, + ".git": true, + "glide.lock": true, + "vendor": true, + "debug": true, + "bin": true, + "tools": true + }, + // Words to add to dictionary for a workspace. + "cSpell.words": [ + "apiv", + "iosk", + "zhouhui", + "ldflags", + "socketio", + "xdsconfig", + "sdkid", + "godotenv", + "crosssdk", + "prjs", + "xaapiv", + "urfave", + "sebd", + "golib", + "joho", + "XDSAGENT", + "reflectme", + "franciscocpg", + "gerrit", + "EVTSDK", + "tgts", + "sigs", + "rdfs", + "goselect", + "creack", + "Sillyf" + ] }