Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode Custom Command ButtonsNew to Visual Studio Code? Get it now.

VSCode Custom Command Buttons

hnbsoft

|
21 installs
| (0) | Free
Add Custom Command Buttons to VSCode UI.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension ("customcommandbuttons") adds command buttons to the Editor toolbar area of VSCode.

Requirements

Make sure the following terminal commands in your PATH environment.

$ which hnb-shell-checker
$ which hnb-linter

For shell script file:

This extension places a Rocket command button when you opened a shell script file (e.g. bash, tcsh, zsh, etc.). If you click that button it will execute the following terminal command:

$ hnb-shell-checker "/path/to/current/opened/file"

For web file (HTML, JS, CSS) file:

This extension places a Eye command button when you opened a web file (e.g. HTML, JavasSript, CSS). If you click that button it will execute the following terminal command:

$ hnb-linter "/path/to/cwd/dir" "/path/to/current/opened/file"

cwd dir: If you just open a separate file, cwd defaults to the user's home directory. If you open a file in a workspace, cwd is the root directory of the workspace.


The Screenshots

Screenshot

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft