Skip to content

Commit c1b1aee

Browse files
committed
VS Code: Remove gopls.build.allowModfileModifications
Having the go.mod to auto-update is not a best practice and can lead to weird bugs. See golang/go#56570 for more info.
1 parent be9c1b6 commit c1b1aee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vscode/settings.jsonc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@
7171
"go.buildTags": "integration",
7272
"go.toolsGopath": "~/go",
7373
"go.toolsManagement.autoUpdate": true,
74-
"gopls": {
75-
"build.allowModfileModifications": true
76-
},
74+
"gopls": {},
7775
"python.languageServer": "Pylance",
7876
"python.showStartPage": false,
7977
"redhat.telemetry.enabled": false,

0 commit comments

Comments
 (0)