Closed khanzzirfan closed 4 years ago
Same issue here.
I've solved it by enclosing my file directory in quotes, like this:
"saveAndRun": {
"commands": [
{
"match": ".go",
"cmd": "cd \"${fileDirname}\"",
"useShortcut": false,
"silent": false
},
{
"match": ".go",
"cmd": "go run .",
"useShortcut": false,
"silent": false
}
]
}
Maybe it would be interesting if this was a default behavior from the extension.
Solves the problem. Thanks
When bash is the default terminal, the workspace folder looses all the '//' for folders. All the path variables looses '//'.