What version of Go, VS Code & VS Code Go extension are you using?
Version Information
* Run `go version` to get version of Go from _the VS Code integrated terminal_.
- `go version go1.22.3 darwin/arm64`
* Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_.
- `golang.org/x/tools/gopls v0.15.3`
* Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders.
- `1.89.1 dc96b837cf6bb4af9cd736aa3af08cf8279f7685 arm64`
* Check your installed extensions to get the version of the VS Code Go extension
- `v0.41.4`
* Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > `Go: Locate Configured Go Tools` command.
- N/A
Share the Go related settings you have added/edited
I'm in a multi root workspace with many go packages
I'm trying to point my custom formatter at ./bin/golangci-lint. This is located within the workspace root
The formatter fails with ${workspaceFolder:root}/bin/golangci-lint is not found.
If i remove the scoping: "customFormatter": "${workspaceFolder}/bin/golangci-lint", then the formatter fails with <path-to-current-folder>/bin/golangci-lint is not found.. The substitution works as expected but this changes for files in each workspace folder so its not really a usable config
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
* Run `go version` to get version of Go from _the VS Code integrated terminal_. - `go version go1.22.3 darwin/arm64` * Run `gopls -v version` to get version of Gopls from _the VS Code integrated terminal_. - `golang.org/x/tools/gopls v0.15.3` * Run `code -v` or `code-insiders -v` to get version of VS Code or VS Code Insiders. - `1.89.1 dc96b837cf6bb4af9cd736aa3af08cf8279f7685 arm64` * Check your installed extensions to get the version of the VS Code Go extension - `v0.41.4` * Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > `Go: Locate Configured Go Tools` command. - N/A
Share the Go related settings you have added/edited
Describe the bug
${workspaceFolder:root}/bin/golangci-lint is not found.
"customFormatter": "${workspaceFolder}/bin/golangci-lint",
then the formatter fails with<path-to-current-folder>/bin/golangci-lint is not found.
. The substitution works as expected but this changes for files in each workspace folder so its not really a usable configSteps to reproduce the behavior:
Screenshots or recordings