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

Expand ${workspaceFolder} in mesonbuild.muonPath #130

Open
tristan957 opened this issue Apr 14, 2023 · 5 comments
Open

Expand ${workspaceFolder} in mesonbuild.muonPath #130

tristan957 opened this issue Apr 14, 2023 · 5 comments

Comments

@tristan957
Copy link
Contributor

I have a feeling there is a VSCode extension API for this, but I would have to go looking.

{
  "mesonbuild.muonPath": "${workspaceFolder}/build/muon"
}
Failed to enable linter muon: spawn ${workspaceFolder}/build/muon ENOENT
@liam-clink
Copy link

What about this for at least that one token?
https://github.com/leidegre/vscode-clang/blob/master/extension.js#L210-L238

@tristan957
Copy link
Contributor Author

I'll give it some thought. Thanks for grabbing that link.

@liam-clink
Copy link

There's also the vscode-python code that you yourself mention here: https://github.com/microsoft/vscode-python/blob/b68facc42f684f26c5f83f3cfe895e7aa4bb2bee/src/client/common/variables/systemVariables.ts
What prevents this code from being used for this extension?

@tristan957
Copy link
Contributor Author

Mostly me not wanting to maintain it. It's all just a hack until VSCode recognizes that they should have given us this API at least 6 years ago.

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