aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2019-03-08 15:20:37 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2019-03-08 15:20:40 +0100
commitdc968c57e9a5a53d81a6bb6229e7ae88f0ee79ce (patch)
tree973a537fdb971abb225a116df201be987b7c3b7d /.vscode
parent5fc859eabd5c2e38b10cbb63f057e83da0748831 (diff)
Update vscode workspace settingsv0.3.1
Change-Id: I25df360182a2d6e5e262e50c08e3a4e0dfa2977a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/settings.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 093e927..9f68e9f 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,5 +1,16 @@
// 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.
+ "editor.detectIndentation": true,
+
// Pick 'gofmt', 'goimports' or 'goreturns' to run on format.
"go.formatTool": "gofmt",