Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

${workspaceFolder} == "\" #34

Open
mykola-shkut opened this issue Oct 5, 2019 · 1 comment
Open

${workspaceFolder} == "\" #34

mykola-shkut opened this issue Oct 5, 2019 · 1 comment

Comments

@mykola-shkut
Copy link

mykola-shkut commented Oct 5, 2019

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?

@bmingles
Copy link
Member

Are you in an actual workspace or just in a folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants