in docs
${workspaceFolder}: the path of the workspace folder of the saved file
on windows 10
if I put configs
{
"match": ".*\.scss$",
"command": "dir && cd ${workspaceFolder} && dir",
"runIn": "backend",
"runningStatusMessage": "Compiling ${fileBasename}",
"finishStatusMessage": "${fileBasename} compiled"
}
I get
Running "dir && cd \ && dir"
Volume in drive C has no label.
Volume Serial Number is 72ED-B5C7
Directory of C:\Users\[myUserName]\AppData\Local\Programs\Microsoft VS Code
....
start of vs code folder
and
${workspaceFolder} == "\"
in docs ${workspaceFolder}: the path of the workspace folder of the saved file
on windows 10 if I put configs { "match": ".*\.scss$", "command": "dir && cd ${workspaceFolder} && dir", "runIn": "backend", "runningStatusMessage": "Compiling ${fileBasename}", "finishStatusMessage": "${fileBasename} compiled" }
I get Running "dir && cd \ && dir" Volume in drive C has no label. Volume Serial Number is 72ED-B5C7
Directory of C:\Users\[myUserName]\AppData\Local\Programs\Microsoft VS Code ....
start of vs code folder and ${workspaceFolder} == "\"
how can I run command from workspace directory?