feat: Add VS Code Go development settings for tool environment variables and gopls configuration.
This commit is contained in:
15
.vscode/settings.json
vendored
Normal file
15
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"go.toolsEnvVars": {
|
||||||
|
"CGO_ENABLED": "1",
|
||||||
|
"PATH": "D:\\esto_al_path\\msys64\\mingw64\\bin;${env:PATH}",
|
||||||
|
"PKG_CONFIG_PATH": "D:\\esto_al_path\\msys64\\mingw64\\lib\\pkgconfig"
|
||||||
|
},
|
||||||
|
"gopls": {
|
||||||
|
"formatting.gofumpt": true,
|
||||||
|
"ui.diagnostic.diagnosticsDelay": "300ms",
|
||||||
|
"build.directoryFilters": [
|
||||||
|
"-vendor"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"go.lintOnSave": "package"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user