Run VS code internal commands directly from editor by click
Requirements
Visual Studio Code 1.48+
How to Use
Only tested on Windows
By default the extention is enabled, you can toggle it using the command palette. Trigger the command palette (Ctrl / Cmd + Shift + P) -> Command Runnder: Enable / Disable.
Once it is enabled, above every line that contains the symbols '$>' followed by a code snipped appears a button to execute the command, like:
$> `cursorDown`
With arguments
cmd("arg")
With arguments and eval ("vscode_1" for not global "vscode" commands)
For both reveal or open: works with relative path and wildcard (* at the end will open the closest match in case of file or folder, other cases the last slash is optional)