summaryrefslogtreecommitdiffstats
path: root/.vscode/settings.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:36:24 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-13 17:36:30 +0200
commit5f0b7c5fb5a40341f24ca00afaac789c614a6830 (patch)
treeccaf9b40b624d27393dd56f940290a6bdd6749f7 /.vscode/settings.json
parent96f7fdc1ac0736a741e13e838f98517beac36db0 (diff)
Change-Id: I505078936d01d722ba66629d5606ea8c38d1fc60 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode/settings.json')
-rw-r--r--.vscode/settings.json17
1 files changed, 10 insertions, 7 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index c1d3b4d..075120d 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,13 +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}/../../../../../..",
+ // 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,
- // Controls the rendering size of tabs in characters.
- // If set to auto, the value will be guessed based on the opened file.
- "editor.tabSize": 2,
- // Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on.
- "editor.insertSpaces": true,
// .jsbeautifyrc not at root directory but under webapp/
"beautify.config": "webapp/.jsbeautifyrc",
// Configure glob patterns for excluding files and folders.