vscode-terminal
vscode-terminal copied to clipboard
Terminal for Visual Studio Code
Terminal
Run terminal command directly in Text Editor
Notice
From v0.0.4, this extension will have limited updates for bug fix or feature development, because:
-
I have another extension: Code Runner which is superset of the Terminal extension since it not only supports
powershell, bat/cmd, bash/shbut also supports other script language likejs, php, python, perl, ruby, go, lua, groovy, vbscriptevenF#, C#. Moreover, this Code Runner extension has more functions (e.g. working directory support, output syntax highlight, run as a file instead of running a set of commands and so on) and will have more supports and updates in the future. -
VS Code already has basic built-in support for the terminal from v1.2 and add 'run selected text' in v1.3. Besides, the ability to run the entire text of current active text editor will come in v1.5. I have already sent the Pull request and it has been merged.
Features
- Run all the commands in Text Editor
- Run the selected commands in Text Editor
- Stop the running commands
- View output in Output Window
- Open Integrated Terminal at current file's directory
- Quick way to toggle Integrated Terminal
Usages
- Write or select a set of commands in Text Editor, then use shortcut
Ctrl+Alt+R, or pressF1and then select/typeRun Terminal Command, the commands will run and the output will be shown in the Output Window. - To stop the running commands, use shortcut
Ctrl+Alt+C, or pressF1and then select/typeStop Terminal Command

- To open Integrated Terminal at current file's directory, use shortcut
Ctrl+Alt+O, or pressF1and then select/typeOpen in Integrated Terminal, or right click in Text Editor/Explorer and then clickOpen in Integrated Terminalin context menu

- To toggle Integrated Terminal, use shortcut
Ctrl+Alt+T, or click theTerminalicon in the Status Bar at the bottom

Telemetry data
By default, telemetry data collection is turned on. To disable it, update the settings.json as below:
{
"terminal.enableAppInsights": false
}
Change Log
0.0.10 (2017-07-22)
- #10: Handle case-insensitive bash path
0.0.9 (2017-07-20)
- #9: Open terminal for Bash on Windows
0.0.8 (2017-05-15)
- Quick way to toggle Integrated Terminal in the Status Bar
0.0.7
- Add 'Open in Integrated Terminal' context menu
0.0.6
- Upgrade applicationinsights npm since telemetry data requires HTTPS
0.0.5
- Add Application Insights to track telemetry data
0.0.4
- Update the future of this extension
0.0.3
- Add support to stop running commands
0.0.2
- Update README.md and add GitHub info
0.0.1
- Initial Release
Issues
Submit the issues if you find any bug or have any suggestion.
Contribution
Fork the repo and submit pull requests.