Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Terminal ToolsNew to Visual Studio Code? Get it now.

Terminal Tools

Glenn (lglong519)

|
35,562 installs
| (2) | Free
Run active file,cd to selected path,clear terminal...
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Terminal Tools

Preview

tools Preview

Usage

[img]Usage

Features

BUTTON DESC
remember the active file then can run it when you are editting other files
CD
cd to the active file's path
cmd
select default or custom directives to run in the terminal. Like installing some frequently used packages
Clear
clear the active terminal
Rerun
restart the active terminal then run the active js/ts file
Run
run the active js/ts file
Stop
restart the active terminal to destroy the running task

Configuration

example

{
    // custom directives
    "terminal-tools.directives": [
        "npm run sync",
    ],
    "terminal-tools.dependencies": [
        "customDependency"
    ],
    "terminal-tools.devDependencies": [
        "customDevDependency@version"
    ],
    "terminal-tools.globalDependencies": [
        "customDependency@^1.0.0"
    ],
    // use defualt or custom
    "terminal-tools.options": {
        "directives": "default",
        "dependencies": "default",
        "devDependencies": "default",
        "globalDependencies": "default",
        "tools": "default",
        "sudo": false,
        // use npm or other else
        "install": "npm",
        "installOptions": [
            "--registry http://registry.npmjs.org"
        ]
    }
}

use custom directives only

{
    "terminal-tools.options": {
        "directives": "custom"
    }
}
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft