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

Resolve variables for executable path. #8

Open
TrevorSundberg opened this issue Jan 2, 2019 · 0 comments
Open

Resolve variables for executable path. #8

TrevorSundberg opened this issue Jan 2, 2019 · 0 comments

Comments

@TrevorSundberg
Copy link

If you use ${workspaceFolder} when specifying the clangTidy.executable path the variable is not resolved, for example ${workspaceFolder}/tools/llvm/bin/clang-tidy. This is useful for cases when clang-tidy is installed locally within the work-space. The list of variables that are usable are defined here.

I believe the change is done by calling resolve() here:

const childProcess = spawn(configuration.executable, args);

It looks like resolve() is defined here, but this is a base class and I'm unsure of the proper way to access it in vs-code extensions.

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

1 participant