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

availability of variables e.g. workingDirectory in Terminal Command #249

Closed
creative-resort opened this issue Apr 11, 2021 · 2 comments
Closed
Labels
enhancement New feature or request

Comments

@creative-resort
Copy link

Which variables are we able to use in the configuration?

I want to configure the Terminal Command to something like:
export STRTDIR="${workingDirectory}";/bin/bash -i

How should I go about this?

@SchoofsKelvin
Copy link
Owner

Added that (task) variables in Terminal Command also get replaced now (7a779f8)

Mind that it only supports "remote" task variables, as mentioned in #232. You'll have to use e.g. ${remoteWorkspaceFolder}, although I could add support for "local" task variables (e.g. ${relativeFile} instead of ${remoteRelativeFile}) later on.

It'll probably take a day or two before I push an update with this new feature. If you need this immediately, you can download a built version with the change here already.

@SchoofsKelvin
Copy link
Owner

It's also now available in version v1.20.1 of the extension, released a few minutes ago.

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

No branches or pull requests

2 participants