Closed jackwhelpton closed 9 months ago
Thanks very much, will merge it soon.
Hi, jackwhelpton, I have merged your codes and released v1.7.0. But I made some changes:
scope
. I find removing it doesn't affect much. So, did I misses something, Does the parameter scope
have any special usage?
An example of how I'm using this:
Previously using an environment variable in
globMatch
like this didn't work.Another use case this PR supports is using the currently selected text:
This PR provides almost complete support for VS Code variables; only
{input:XXX}
is unsupported. The reason for this is that the argument here links to an input control defined intasks.json
, and there appears to be no way to pull those programmatically at this time; parsingtasks.json
manually may be a workaround, but feels ugly.This PR also addresses the deprecated
rootPath
property.For some reason I had to remove the
postinstall
step frompackage.json
, which points at a command that (for me) didn't exist; I've consciously avoided committing that change.Happy to make any changes required, just let me know what you need!