Run terminal command directly in Text Editor
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/sh
but also supports other script language like js, php, python, perl, ruby, go, lua, groovy, vbscript
even F#, 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.
Ctrl+Alt+R
, or press F1
and then select/type Run Terminal Command
, the commands will run and the output will be shown in the Output Window.Ctrl+Alt+C
, or press F1
and then select/type Stop Terminal Command
Ctrl+Alt+O
, or press F1
and then select/type Open in Integrated Terminal
, or right click in Text Editor/Explorer and then click Open in Integrated Terminal
in context menuCtrl+Alt+T
, or click the Terminal
icon in the Status Bar at the bottomBy default, telemetry data collection is turned on. To disable it, update the settings.json as below:
{
"terminal.enableAppInsights": false
}
Submit the issues if you find any bug or have any suggestion.
Fork the repo and submit pull requests.