X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=.vscode%2Fsettings.json;h=337c9017974da18120ba15952ffdece0b15ba57c;hb=47e5cbce435cffe286c9128d36540f90a5bd7e20;hp=16b3a009d1e94635adcbb1d57fd7b7b111739064;hpb=295f712b2d3838b6576bd7ed12dbf7cf7c9e1e4f;p=src%2Fxds%2Fxds-gdb.git diff --git a/.vscode/settings.json b/.vscode/settings.json index 16b3a00..337c901 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,10 +1,20 @@ // Place your settings in this file to overwrite default and user settings. { + // 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}/../../../../../..", + "go.toolsEnvVars": { + "GO111MODULE": "on" + }, + // 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, @@ -12,9 +22,29 @@ }, // Words to add to dictionary for a workspace. "cSpell.words": [ - "apiv", "iosk", "zhouhui", "ldflags", "socketio", "xdsconfig", "golib", - "sebd", "ccmd", "aargs", "eenv", "gdbserver", "NOFIX", "XDSAGENT", - "xaapiv", "joho", "sdkid", "godotenv", "sigs", "igdb", "TCGETS", - "TCSETS", "tcgetattr", "tcsetattr" + "apiv", + "iosk", + "zhouhui", + "ldflags", + "socketio", + "xdsconfig", + "golib", + "sebd", + "ccmd", + "aargs", + "eenv", + "gdbserver", + "NOFIX", + "XDSAGENT", + "xaapiv", + "joho", + "sdkid", + "godotenv", + "sigs", + "igdb", + "TCGETS", + "TCSETS", + "tcgetattr", + "tcsetattr" ] }