Open mbomb007 opened 4 years ago
Hi @mbomb007,
You're absolutely right, those kinds of dynamic expressions aren't currently supported. When I originally wrote this extensions, there was no API to pull Task
information - so I was resigned to loading the configuration myself.
Now that there is an API, this should be possible. And there's a good amount of code that can probably come out of the extension as a result.
I'll start sketching this out shortly and will give you a shout when I need some assistance testing the updates.
Thanks for raising this!
~Owen
I see a pull request. Is the fix ready to be merged, or is there a reason you are waiting?
https://code.visualstudio.com/docs/editor/variables-reference
I can't get this extension to work. I am using tasks with variables, like this one:
If I just run a similar task with the current working directory hardcoded, it works, running the following in my PowerShell terminal:
But if I try using the task above in conjunction Microtask, it just prints the following in the Output window: