Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Terminal SidebarNew to Visual Studio Code? Get it now.
Terminal Sidebar

Terminal Sidebar

Luke Niu

|
53 installs
| (1) | Free
Sidebar terminals with Markdown, PDF, LaTeX, HTML, and formatted-source previews.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Terminal Sidebar

English · 简体中文 · 日本語

CI Version Marketplace MIT

Independent terminals and document previews in VS Code. The Primary Side Bar uses collapsible sections; the Secondary Side Bar uses a compact tab strip. Keep Vim, Neovim, or another command-line tool beside its output and preview.

Requires VS Code 1.106+ on desktop or a remote extension host. No separate Node.js installation is needed to use the extension.

Get started

  1. Install a matching VSIX through Extensions: Install from VSIX…. Marketplace also lists published versions.
  2. Open Side Terminals and select + for a shell. The arrow button opens the other side bar.
  3. Select the gear to configure startup terminals. Closing a terminal keeps its startup profile.
  4. Use Preview in Sidebar Terminal in the editor title bar for PDF, Markdown, LaTeX, HTML, CSS, JSON, or JSONC. LaTeX opens an existing compiled PDF; build with your usual tools first.

Work beside your editor

  • Saving a document refreshes its preview, including saves from Vim. PDFs offer vertical/horizontal continuous scrolling and single/two-page layouts beside the zoom menu, with arrow-key navigation and remembered reading positions.
  • Markdown supports common syntax, task lists, footnotes, and KaTeX math. Change preview font defaults to Default; your choice follows VS Code Settings Sync.
  • Preview static HTML with local assets, or formatted CSS/JSON/JSONC source. HTML scripts and forms remain inactive.
  • Cmd+F / Ctrl+F searches terminal buffers and document text, with case, whole-word, regex, counts, and highlighting. Right-click the search button to search all open tabs on both sides. PDF search requires a text layer.
  • Double-click a PDF location to return to its LaTeX source through SyncTeX. Compile with -synctex=1 and install synctex.
  • Drag tabs to reorder; right-click for actions. Export terminal output as HTML, PDF, Markdown, or plain text.
  • Change tab marker selects a themed icon. Startup-profile icons follow the same profile across repositories. Document icons follow the same file. Temporary-terminal icons stay workspace-local.

Keep in mind

Reloading VS Code creates new shell processes. Directory memory and command status depend on shell integration and are best effort. Startup settings can sync: do not store credentials in commands, arguments, or environment values.

User and development guide · Changelog · Issues

Design and maintenance: Lu Niu (Photonico). Implementation, testing, and documentation assistance: OpenAI Codex and Anthropic Claude.

MIT © 2026 Lu Niu (Photonico). Bundled Codicons: Microsoft, CC BY 4.0.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft