This extension adds a toggle icon (shortcut) in the status bar.
This extension tries to address an open feature request by adding a toggle icon (shortcut) in the status bar.
Following are the various options available to open/toggle the terminal. However, there isn't an one-click option to do the same.
- View -> Terminal (
Ctrl + `
) - View: Toggle Terminal (using Command Palette)
- Terminal -> New Terminal
- Click the PROBLEMS view toggle to open the Panel and select Terminal tab`
- Toggle PANEL (
Ctrl + J
) (and optionally select Terminal tab if its not on focus)
The following setting(s) can be specified in your settings.json
Setting | Description | Value(s) | |
---|---|---|---|
vscode-toggle-terminal.alignment |
Where to align the toggle button | left (default), right |
Thanks to @thumperward for the contribution. |
vscode-toggle-terminal.priority |
Priority of the toggle button position in the status bar. (Higher values mean the toggle button would be shown more to the left.) | 0 (default) |
-
Clicking on the toggle does not show/hide the terminal -
- If the focus is switched from the active terminal to another section on the Panel (like
PROBLEMS
orOUTPUT
),
(Currently there isn't an API to know if the inline terminal has the focus - 117980). - If the panel is closed using "Close Panel" option
As a workaround, we need to click the toggle twice to show (focus) on the active terminal first (and once more if we need to hide)
- If the focus is switched from the active terminal to another section on the Panel (like
-
This does not work well if the Terminal is created in the Editor Area (
Terminal: Create New Terminal in Editor Area
) instead of Panel (default) -
Tests - There aren't any tests right now
If you come across any other issue, or if you could improve this extension please feel free to raise a Bug/PR
- Clone the Repository
- Run
npm install -g @vscode/vsce
to installvsce
- Run
vsce package
from the cloned directory to package the extension - Run
Extensions: Install from VSIX
and choose the vsix package
- Initial Release
- Added CI Pipeline
- Updated Known Limitation in README
- bump @vscode/vsce - dev dependency
- Added setting for alignment.
- Added setting for priority.
- Added notification to reload on configuration changes.