Answer the question
In order to leave comments, you need to log in
How to disable golang autoformatting in vscode?
I looked at quite a few sites and guides on the topic of disabling auto-formatting of Go files, but nothing helped, and in the Russian segment the question was not particularly asked. Has anyone solved this problem?
Answer the question
In order to leave comments, you need to log in
in your Settings.json set
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": false,
},
"editor.defaultFormatter": "golang.go",
"editor.formatOnSave": false,
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question