Skip to content

Instantly share code, notes, and snippets.

@bullishpip
Last active July 11, 2026 17:41
Show Gist options
  • Select an option

  • Save bullishpip/ff093a88189ccdb912dd12fb7024219f to your computer and use it in GitHub Desktop.

Select an option

Save bullishpip/ff093a88189ccdb912dd12fb7024219f to your computer and use it in GitHub Desktop.
Adding Claude-Code Visual Studio Code extension to Chat Panel

How to Configure Claude Code Extension in Visual Studio Code Side Panel

Last Updated: October 7, 2025
Extension Version Tested: Claude Code for VS Code v2.0.10

This guide will help you set up the Claude Code extension in Visual Studio Code's side panel for easy access. You can also use this process for other chat extentions like Codex.

Prerequisites

  • Visual Studio Code installed on your system
  • Internet connection for extension installation

Step-by-Step Instructions

Step 1: Install the Claude Code Extension

  1. Open Visual Studio Code
  2. Navigate to the Extensions view by clicking the Extensions icon in the Activity Bar (or press Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Claude Code" in the extensions marketplace
  4. Find the official Claude Code extension by Anthropic
  5. Click Install to add the extension to your VS Code

Alternative: Install directly from the marketplace link: Claude Code Extension Pasted Graphic 1

Step 2: Configure Activity Bar Orientation

  1. Open VS Code Settings:
    • Windows/Linux: Ctrl+,
    • macOS: Cmd+,
  2. In the search bar, type "activity bar orientation"
  3. Find the setting: Workbench › Appearance › Activity Bar: Orientation
  4. Change the value from "horizontal" to "vertical"

This step ensures the side panel layout works optimally with the Claude Code extension. 42c7592b3a349246aba7b412853f8a985be23012

Step 3: Open Claude Code in Sidebar

  1. Open the Command Palette:
    • Windows/Linux: Ctrl+Shift+P
    • macOS: Cmd+Shift+P
  2. Type "Claude" in the command palette
  3. Select "Claude Code: Open in sidebar" from the dropdown menu
  4. The Claude Code interface will appear in the sidebar
Claude Code Open in Side Bar

Step 4: Move to Chat Panel

  1. Locate the Claude Code icon in the sidebar
  2. Click and drag the icon from the sidebar
  3. Drop it into the chat panel area
Pasted Graphic 3

Verification

To verify the setup is working correctly:

  1. You should see the Claude Code interface in the chat panel.
  2. You can start a conversation with Claude by typing in the chat interface
  3. The extension should be ready to assist with your coding tasks
Pasted Graphic 2

Troubleshooting

Extension not appearing: Make sure you've installed the official Claude Code extension by Anthropic, not a similar extension with a different name.

Sidebar not showing: Verify that the Activity Bar orientation is set to "vertical" in your VS Code settings.

Command not found: Ensure the extension is properly installed and VS Code has been restarted after installation.

Additional Resources


This guide has been tested and verified to work with Visual Studio Code and Claude Code for VS Code v2.0.10 (last updated October 7, 2025).

@gatsby74

Copy link
Copy Markdown

DId Not work for me In MacOS version this is what I am getting : [ Claude Extension Still on the Left | Claude chat in Editor | Right Side is Claude Tab with sessions (not what I want) ]

image EDIT : I was about to call it quit but I tried a second time this way and it finally worked image

I'm getting a similar error, the first chat I have open can be moved to the left just fine, but as soon as I try adding a 2nd session - it won't let me drag that to the left bar anymore. It will only allow to add the first session chat + the sessions manager, the 2nd session is stuck in the "middle" of the window.

Anyone has any solutions?

CleanShot 2026-04-20 at 9  18 02@2x

@maaaaagda

Copy link
Copy Markdown

@mehdi-dbx You're a life saver! It should be included in the instructions

@Andy9822

Andy9822 commented Jun 1, 2026

Copy link
Copy Markdown

I just tried it today and right when I was about to quit I found this screenshot and it worked!
The only way to make it work as of June 1st 2026 is via the Move to option on right click

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment