-
Notifications
You must be signed in to change notification settings - Fork 855
Open
Milestone
Description
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
* Check your installed extensions to get the version of the VS Code Go extension - 0.50.0
Describe the bug
When the workspace folder is located in a path where any folder has spaces, then the execution of go build will split the arguments and go build fails.
I think the reason is a missing quoting somewhere here
Steps to reproduce the behavior:
- Create a folder via
mkdir 'Test Folder' - open vscode in this folder
- Configure go like:
{
"name": "Debug",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/main.go",
"cwd": "${workspaceFolder}",
}
}
4. See error when compiling, for me the executed go build looks like this:
go build -o /home/willi/Test Folder/__debug_bin4003740761 -gcflags all=-N -l .
Metadata
Metadata
Assignees
Labels
No labels