The vscode supports terminal tab in nightly now, and it will soon be on the stable.
See microsoft/vscode#10546 (comment)
This extension's job is done. 👏👏👏👏👏
This repository abused non-public API in the vscode and will break at any time in the future.
Please use at your own caution.
See issue list below.
This extension is a experiment about terminal in editor tab experience.
There may not be any future feature release because this repository is intended to be used as an POC.
But fork, modify and republish it is welcome as long as you follow the MIT license.
Besides open the terminal as an editor tab.
It is also experiment of
- auto recover tab (its cwd and env) on load workspace
- auto recover terminal content after recover the tag (just like iterm 2)
- persistent session with tmux (idea stole form from cloud9 ide)
- Launch a terminal tab here
- Terminal session gone on vscode closed
- However terminal content was restore on vscode restart.
- Shortcuts
- Also available as shortcut on top right of editor column
- Also available as file menu shortcut
- Launch a tmux baked terminal tab here
- Terminal session is not destroyed unless you close the tab (even close editor does not matter).
- Session can be listed with
tmux -L vscode-terminal-tab list-sessions
- Access to shell env. (or you can't open terminal)
- Tmux installed if you want to use tmux baked terminal tab.
No.
All setting are read directly from integrated terminal setting.
- Integration with the vscode is lacking because there is no api for that.
The tab looks more like a terminal that live in vscode by accident. - There is no formal way to use native module in native extension, so I abused internals of vscode.
- There is no formal way to use production icon in webview tab title, so I copied it directly from codicons.
Fix unintended scrollbar of tab under certain condition
Dependency bump Fix corrupted history when in alternative screen.
Fix issue #7: color theme not update on config change
Skip ahead
Fix: Fix locale detection again
Feat: Support terminal.integrated.env.*
Fix: Fix locale detection
Feat: Add a tmux baked persistent terminal.
Fix: Apply default shell args from terminal.integrated.shellArgs.${platform}
Feat: Add icon to the tab title.
Fix: Save/restore current shell at tab creation that correspond to the terminal tab.
Feat: Forward shell title.
Feat: Add a short cut on editor title to open new terminal.
Update description only
Update description only
Initial publish
- Vscode: Allow Extensions to use native modules shipped with vscode
- Vscode: Support Platform Specific Extensions
- Vscode: Allow ThemeIcon in WebviewPanel.iconPath
The icons are from codicons.