pulumi/.vscode/settings.json
Fraser Waters a526db129a
Move gopls settings to .vscode from .devcontainer (#8383)
These gopls settings should apply to any vscode instance, not just ones in devcontainers.
2021-11-09 10:54:52 +00:00

14 lines
549 B
JSON

{
"go.buildTags": "all",
"go.testTimeout": "1h",
"gopls": {
// A couple of modules get copied as part of builds and this confuse gopls as it sees the module name twice, just ignore the copy in the build folders.
"build.directoryFilters": [
"-sdk/dotnet/Pulumi.Automation.Tests/bin",
"-sdk/nodejs/bin",
"-sdk/python/env"
],
// Experimental but seems to work and means we don't need a vscode instance per go.mod file.
"experimentalWorkspaceModule": true,
},
}