From c04ce75d90890c0dca62bc8cb38dcb74d182d8ef Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Thu, 23 Feb 2017 23:18:09 +0100 Subject: [PATCH] Leverage configurationDefaults for languages that we bundle with VS Code. Fixes #21301 --- extensions/go/package.json | 7 ++++++- extensions/make/package.json | 7 ++++++- extensions/yaml/package.json | 8 +++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/extensions/go/package.json b/extensions/go/package.json index 1b4e598f764..3ad45f01671 100644 --- a/extensions/go/package.json +++ b/extensions/go/package.json @@ -17,6 +17,11 @@ "language": "go", "scopeName": "source.go", "path": "./syntaxes/go.json" - }] + }], + "configurationDefaults": { + "[go]": { + "editor.insertSpaces": false + } + } } } \ No newline at end of file diff --git a/extensions/make/package.json b/extensions/make/package.json index 856d097e81d..b6d814afd58 100644 --- a/extensions/make/package.json +++ b/extensions/make/package.json @@ -19,6 +19,11 @@ "language": "makefile", "scopeName": "source.makefile", "path": "./syntaxes/Makefile.json" - }] + }], + "configurationDefaults": { + "[makefile]": { + "editor.insertSpaces": false + } + } } } \ No newline at end of file diff --git a/extensions/yaml/package.json b/extensions/yaml/package.json index 6c3d3c1380b..ce9cc13b3ad 100644 --- a/extensions/yaml/package.json +++ b/extensions/yaml/package.json @@ -18,6 +18,12 @@ "language": "yaml", "scopeName": "source.yaml", "path": "./syntaxes/yaml.json" - }] + }], + "configurationDefaults": { + "[yaml]": { + "editor.insertSpaces": true, + "editor.tabSize": 2 + } + } } } \ No newline at end of file -- GitLab