lintFlags not handle environment variables in windows 10 #1901
Labels
FeatureRequest
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
go version
to get version of Go from the VS Code integrated terminal.gopls -v version
to get version of Gopls from the VS Code integrated terminal.code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.3a6960b964327f0e3882ce18fcebd07ed191b316
x64
Go: Locate Configured Go Tools
command.Share the Go related settings you have added/edited
Run
Preferences: Open Settings (JSON)
command to open your settings.json file.Share all the settings with the
go.
or["go"]
orgopls
prefixes.Describe the bug
Vscode go running lint tool not eval enviornment variables. The
${env:APPDATA}
not replace withC:\Users\xiaoqing\AppData\Roaming
, it recognized raw string.Steps to reproduce the behavior:
"--config", "~\\AppData\\Roaming\\Code\\User\\golangci.yml"
running success.Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.
The text was updated successfully, but these errors were encountered: