Support multiline commands - #61
Christof Marti (chrmarti) merged 20 commits into
Conversation
add status bar item to RunLineInEditor class add execution timing to RunLineInEditor class
add support for executing selections fix some === warnings rename 'line' to 'command' for clarity
|
Christof Marti (@chrmarti) / Chris Dias (@chrisdias) - I can't see the build error; can you take a look and let me know what's wrong? |
|
Christof Marti (@chrmarti) / Chris Dias (@chrisdias) - I set up an Azure DevOps build pipeline using the azure-pipelines.yml at the root of the project and the branch for this PR (in my fork) builds without any errors. I you can let me know what the error is I'd love to fix it and get this merged. |
|
Christof Marti (@chrmarti) / Chris Dias (@chrisdias) - it's been a while since I checked on this PR. I can't see the build error but if you let me know what it is I'd love to get it fixed. If y'all don't think this PR is worthwhile just let me know and I can close it. |
Christof Marti (chrmarti)
left a comment
There was a problem hiding this comment.
I have added a few comments, please take a look. (Sorry for the delay.)
* add comments * assign strings to variables * use slice() to remove continuation character
* remove support for // comments * support full line comments
allow for user specified continuation character
|
Christof Marti (@chrmarti) - I see all the issues as being resolved; please let me know if there are still some changes I need to make. |
|
Matthew Burleigh (@mburleigh) Thanks, I should get to it this milestone. |
|
Matthew Burleigh (@mburleigh) I have published this feature with version 0.5.0 of the extension. As usual you will be mentioned in the VS Code (1.42) release notes for this PR. 👍 |

Working with JMESPath queries and Kusto queries (in the Resource Graph extension) results in some long commands.
This PR makes it possible to split long commands across several lines, add comments, and execute a selected substring of a longer command.