summaryrefslogtreecommitdiffstats
path: root/.vscode/settings.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:37:58 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:37:58 +0200
commit74f0d81beb40c44c7ba5efa97b4de7d15df64398 (patch)
tree3e0cd0084ffd73d13759b9b76ab691057dcd94b1 /.vscode/settings.json
parentf06281416f070599eb1fdcd4c5ab114248ae86ff (diff)
Change-Id: I4b87542e0e089dd64220c0ae61e60b1ed8f2add8 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode/settings.json')
-rw-r--r--.vscode/settings.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 8c1f563..f95c6e5 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,7 +1,15 @@
// 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}/../../../../../..",
+ // 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,
// Configure glob patterns for excluding files and folders.
"files.exclude": {