diff options
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/settings.json | 49 |
1 files changed, 34 insertions, 15 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json index f95c6e5..337c901 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,21 +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}/../../../../../..", - - // 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. + // 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, @@ -23,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" ] } |