This extension adds a toggle icon (shortcut) in the status bar.
This extension tries to address a closed 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.
Ctrl + `
)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) |
|
vscode-toggle-terminal.listNames |
Display terminal names on hover (tooltip) | false (default) |
(Experimental - values might not update in some cases due to API limitations, requires interaction with the toggle to update) |
Clicking on the toggle does not show/hide the terminal -
PROBLEMS
or OUTPUT
), \
(Currently there isn't an API to know if the inline terminal has the focus - 117980).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)
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
npm install -g @vscode/vsce
to install vsce
vsce package
from the cloned directory to package the extensionExtensions: Install from VSIX
and choose the vsix package