A VSCode extension that lets you click on terminal commands in your code to execute them.
git clone [email protected]:dwalter/vscode_term_cmd_btns.git
cd vscode_term_cmd_btns###First time
sudo apt install npm
npm install
sudo npm install vsce -gnpm run compile;
yes | vsce package;
code --install-extension terminal-command-buttons-*.vsix;- reload vscode window with: cmd+shift+p -> Developer: Reload Window
Adds clickable commands wrapped in <terminal> tags that execute in the VSCode terminal when clicked.
Add commands to your code like this:
"""
run with:
<terminal>python main.py --arg0 "zero"</terminal>
"""