diff --git a/.vscode/settings.json b/.vscode/settings.json index 3a2ccb7ec..fcbe37859 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,4 +2,15 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true, "eslint.workingDirectories": ["./view/next-project"], + "[go]": { + "editor.defaultFormatter": "golang.go" + }, + "emeraldwalk.runonsave": { + "commands": [ + { + "match": "\\.go$", + "cmd": "golines ${file} -w" + } + ] + } }