You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
I see the use of these custom commands and I would like to use it in my launch.json as a variable like so "cd ${command:ego.power-tools.commands.my_command}"
With a command that actually has a return statement:
.vscode/my_command.js (return a string in execute(), which replaces ${command:myCommand}, s. below):
exports.execute=async(args)=>{return"hello"};
.vscode/launch.json (define ${command:myCommand}, which is replaces by the result of execute() from my_command.js):
// A launch configuration that compiles the extension and then opens it inside a new window// Use IntelliSense to learn about possible attributes.// Hover to view descriptions of existing attributes.// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387{"version": "0.2.0","configurations": [{"name": "myCommand Test","type": "node","request": "launch","args": ["${command:myCommand}"]}]}
I see the use of these custom commands and I would like to use it in my launch.json as a variable like so
"cd ${command:ego.power-tools.commands.my_command}"
With a command that actually has a return statement:
Would something like that be possible with these power tools?
The text was updated successfully, but these errors were encountered: