From ce6de95b342c85b099b9693a90a5dae2401aa597 Mon Sep 17 00:00:00 2001 From: srinandan <13950006+srinandan@users.noreply.github.com> Date: Fri, 20 Oct 2023 09:11:01 -0700 Subject: [PATCH] chore: add default settings for dev --- .vscode/settings.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index c4cb2decb..136cd14b4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,9 +14,13 @@ }, "go.useLanguageServer": true, "go.lintTool": "golangci-lint", - "go.buildOnSave": "off", - "go.lintOnSave": "on", - "go.vetOnSave": "on", + "go.lintOnSave": "workspace", + "go.vetOnSave": "workspace", + "[go]": { + "editor.insertSpaces": true, + "editor.formatOnSave": true, + "editor.defaultFormatter": "golang.go" + }, // YAML Config "[yaml]": { "editor.formatOnSave": true