Repository navigation
v0.3.0-editor: Editor-area terminal support with pinning
·
3 commits
to feat/editor-area-terminal-support
since this release
What's new
Two new settings
- tmux-integrated.terminalLocation (panel | editor, default: panel) — Open tmux terminals as editor tabs instead of panel terminals
- tmux-integrated.pinTerminals (boolean, default: true) — Pin editor tabs via VS Code's pinEditor command
Editor-area support
When terminalLocation is set to editor, all tmux terminals open as pinned editor tabs. Covers all three terminal creation paths: newTerminal command, attachWindow picker, and auto-connect (session restore after SSH reconnect).
Pinning reliability
VS Code's pinEditor command targets the currently active editor tab. When multiple terminals are created simultaneously (e.g. auto-connect restoring several tmux windows), the extension focuses each terminal and waits 100ms before pinning to ensure the correct tab is targeted. Note: there may still be timing races in edge cases — manually pin with Ctrl+K Shift+Enter if needed.
Recommended Remote-SSH settings
Install
Download the .vsix file and run: Extensions: Install from VSIX...
{ "terminal.integrated.defaultProfile.linux": "tmux-integrated", "tmux-integrated.terminalLocation": "editor", "tmux-integrated.pinTerminals": true, "terminal.integrated.enablePersistentSessions": false }