Terminal All In One
Supercharge your terminal with themes, commands, scripts, and key bindings!
Table Of Contents
Featured Content is Bolded
Installation
- Open Terminal All In One - Visual Studio Marketplace
- Click "Install"
OR
- Open Visual Studio Code
- Open the Extensions View -> (
Shift+Cmd+P or F1 and type "Extensions: Install Extensions") or (Shift+Cmd+X )
- Type "Terminal All In One"
- Click "Install"
OR
- Open a command-line prompt
- Run
code --install-extension yasht.terminal-all-in-one
Commands
Themes
Scripts
Instances
terminalAllInOne.createNewTerminal (Terminal All In One: Create New Terminal)
terminalAllInOne.deleteCurrentTerminal (Terminal All In One: Delete Current Terminal)
terminalAllInOne.renameCurrentTerminal (Terminal All In One: Rename Current Terminal)
terminalAllInOne.focusNextTerminal (Terminal All In One: Focus Next Terminal)
terminalAllInOne.focusPreviousTerminal (Terminal All In One: Focus Previous Terminal)
Display
workbench.action.terminal.toggleTerminal (View: Toggle Integrated Terminal)
Toggles the Terminal
Keybinding: cmd/ctrl+i `
Demo
terminalAllInOne.toggleMaxTerm (Terminal All In One: Toggle Maximized Terminal)
terminalAllInOne.clearTerminal (Terminal All In One: Clear Terminal)
terminalAllInOne.splitTerminal (Terminal All In One: Split Terminal)
Splits the Terminal
Keybinding: cmd/ctrl+i ]
terminalAllInOne.changeCursorWidth (Terminal All In One: Change Cursor Width)
terminalAllInOne.changeCursorStyle (Terminal All In One: Change Cursor Style)
terminalAllInOne.toggleBlinkingCursor (Terminal All In One: Toggle Blinking Cursor)
terminalAllInOne.changeFontSize (Terminal All In One: Change Font Size)
terminalAllInOne.decreaseFontSize (Terminal All In One: Decrease Font Size)
terminalAllInOne.increaseFontSize (Terminal All In One: Increase Font Size)
terminalAllInOne.changeFontWeight (Terminal All In One: Change Font Weight)
Misc
Configuration
Themes
Scripts
terminalAllInOne.scripts
Scripts are string representations of Command Line commands. Scripts can be strings (1 command) or arrays (multiple commands)
Use the command terminalAllInOne.runScript or the keybinding cmd/ctrl+i enter to open the Script Quick Pick1
Alternatively, use the keybindings cmd/ctrl+i 0-9 to run a specific script whose index corresponds to the number pressed (Note: Only your first 10 scripts will have corresponding keybindings)
Variables:
${workspaceFolder} - the path of the folder opened in VS Code
${workspaceFolderBasename} - the name of the folder opened in VS Code without any slashes (/)
${file} - the current opened file
${relativeFile} - the current opened file relative to workspaceFolder
${relativeFileDirname} - the current opened file's dirname relative to workspaceFolder
${fileBasename} - the current opened file's basename
${fileBasenameNoExtension} - the current opened file's basename with no file extension
${fileDirname} - the current opened file's dirname
${fileExtname} - the current opened file's extension
${cwd} - the task runner's current working directory on startup
${lineNumber} - the current selected line number in the active file
${selectedText} - the current selected text in the active file
${execPath} - the path to the running VS Code executable
${defaultBuildTask} - the name of the default build task
You can reference VS Code settings ("configurations") through ${config:Name} syntax (for example, ${config:editor.fontSize} ).
terminalAllInOne.script.disableDescription
- Disable the Script Description that is run before the Script Commands
Sample Configuration:
{
"terminalAllInOne.scripts": [
{
"name": "Greet",
"script": ["echo hello", "echo How was your day?"]
},
{
"name": "Contents of current workspace folder",
"script": "ls ${workspaceFolder}"
},
{
"name": "Install Dependencies",
"script": ["npm i react", "npm i --save-dev mocha"]
}
],
"terminalAllInOne.script.disableDescription": false
}
Keybindings
Messages
terminalAllInOne.messages
- Controls which messages should be shown if
terminalAllInOne.disableAllMessages is set to false
terminalAllInOne.disableAllMessages
- Controls whether all messages (info, warning, and error) from this extension are disabled
Default Configuration :
{
"terminalAllInOne.messages": {
"shouldShowThemeQuickPickMessage": true,
"shouldShowSelectedThemeMessage": true,
"shouldShowFontSizeQuickPickMessage": true,
"shouldShowSelectedFontSizeMessage": true,
"shouldShowFontWeightQuickPickMessage": true,
"shouldShowSelectedFontWeightMessage": true,
"shouldShowCursorWidthQuickPickMessage": true,
"shouldShowSelectedCursorWidthMessage": true,
"shouldShowCursorStyleQuickPickMessage": true,
"shouldShowSelectedCursorStyleMessage": true,
"shouldShowBlinkingCursorToggledMessage": true,
"shouldShowDisableScriptDescriptionMessage": true
},
"terminalAllInOne.disableAllMessages": false
}
Keybindings
For each keybinding (except toggling the terminal) , press cmd+i (for Macs) or ctrl+i (for Windows & Linux), and the corresponding key for the terminal command.
Demos
Toggle the Terminal
Toggle the Maximized Terminal
Select a Default Shell
Create a New Terminal Instance
Delete the Current Terminal Instance
Rename the Current Terminal Instance
Focus the Next Terminal Instance
Focus the Previous Terminal Instance
Choose a Terminal Theme
Contribute
Would you like to contribute?
Check out first contributions if you are new to contributing
More Info
[1] : Quick Pick
| |