Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>XPilot — Copilot Chat Layout ManagerNew to Visual Studio Code? Get it now.
XPilot — Copilot Chat Layout Manager

XPilot — Copilot Chat Layout Manager

Byron Jacobs

| (0) | Free
Automatically opens GitHub Copilot Chat in a dedicated, locked editor group beside your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XPilot — Copilot Chat Layout Manager

A VS Code extension that automatically opens GitHub Copilot Chat in a dedicated, locked editor group beside your code. No configuration needed — just install and go.

VS Code License

What It Does

XPilot creates a two-group editor layout with Copilot Chat always visible:

┌──────────┬──────────────┬──────────────┐
│          │   Copilot    │              │
│ Explorer │    Chat      │    Editor    │
│          │              │              │
│  files/  │  Ask me...   │  code.ts     │
│  src/    │              │              │
│  docs/   │              │              │
└──────────┴──────────────┴──────────────┘
   Sidebar    Editor Group 1  Editor Group 2

Your built-in VS Code Explorer stays as-is. XPilot just manages the Copilot Chat placement.

Features

  • Auto-layout on startup — Opens Copilot Chat in a dedicated, locked editor group automatically
  • Locked chat group — The Copilot Chat group is locked so file tabs never open in it
  • Smart tab guard — Files always open in the editor group; chat tabs always stay in the chat group
  • Persistent chat — Close the last chat tab and a new one reopens automatically
  • Multiple chat tabs — Open as many Copilot Chat sessions as you want
  • Sidebar-aware — Works with both left and right sidebar; the chat group follows automatically
  • Reload-safe — Reloading the window preserves the layout without creating duplicates

Requirements

  • VS Code ^1.85.0
  • GitHub Copilot Chat extension installed and signed in

Installation

From Source

git clone https://github.com/savedpixel/vscode-xpilot.git
cd vscode-xpilot
npm install
npm run compile

Reload VS Code to activate the extension.

As VSIX

npm install -g @vscode/vsce
vsce package
code --install-extension vscode-xpilot-0.1.0.vsix

Commands

Command Description
XPilot: New Copilot Chat Open a new Copilot Chat tab in the chat group

How It Works

  1. On startup, opens GitHub Copilot Chat as an editor tab
  2. Splits into two editor groups — one for chat, one for code
  3. Locks the chat group so files can't open in it
  4. Uses VS Code's tabGroups API to monitor and enforce the layout

Configuration

XPilot respects your existing VS Code settings:

  • Sidebar position — Works with both left and right sidebar (workbench.sideBar.location). The Copilot Chat group automatically repositions to stay adjacent to the sidebar.

License

MIT — Byron Jacobs (@savedpixel · byronjacobs.com)

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft