Skip to content

dwalter/vscode_term_cmd_btns

Repository files navigation

Terminal Command Buttons

A VSCode extension that lets you click on terminal commands in your code to execute them.

Setup

Clone Repo

git clone git@github.com:dwalter/vscode_term_cmd_btns.git
cd vscode_term_cmd_btns

###First time

sudo apt install npm
npm install
sudo npm install vsce -g

Every time

npm run compile;
yes | vsce package;
code --install-extension terminal-command-buttons-*.vsix;
  • reload vscode window with: cmd+shift+p -> Developer: Reload Window

Features

Adds clickable commands wrapped in <terminal> tags that execute in the VSCode terminal when clicked.

Usage

Add commands to your code like this:

"""
run with:
<terminal>python main.py --arg0 "zero"</terminal>
"""

About

VSCode extension to make comments in scripts like <terminal> ls -lt </terminal> clickable buttons.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published