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 can also use this process for other chat extentions like Codex.
- Visual Studio Code installed on your system
- Internet connection for extension installation
- Open Visual Studio Code
- Navigate to the Extensions view by clicking the Extensions icon in the Activity Bar (or press
Ctrl+Shift+X/Cmd+Shift+X) - Search for "Claude Code" in the extensions marketplace
- Find the official Claude Code extension by Anthropic
- Click Install to add the extension to your VS Code
Alternative: Install directly from the marketplace link: Claude Code Extension

- Open VS Code Settings:
- Windows/Linux:
Ctrl+, - macOS:
Cmd+,
- Windows/Linux:
- In the search bar, type "activity bar orientation"
- Find the setting: Workbench › Appearance › Activity Bar: Orientation
- Change the value from "horizontal" to "vertical"
This step ensures the side panel layout works optimally with the Claude Code extension.

- Open the Command Palette:
- Windows/Linux:
Ctrl+Shift+P - macOS:
Cmd+Shift+P
- Windows/Linux:
- Type "Claude" in the command palette
- Select "Claude Code: Open in sidebar" from the dropdown menu
- The Claude Code interface will appear in the sidebar
- Locate the Claude Code icon in the sidebar
- Click and drag the icon from the sidebar
- Drop it into the chat panel area
To verify the setup is working correctly:
- You should see the Claude Code interface in the chat panel.
- You can start a conversation with Claude by typing in the chat interface
- The extension should be ready to assist with your coding tasks
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.
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).
Good catch! ATM (10/09), refreshing or hiding the panel causes the Claude-code chat panel to disappear.
As soon as you reexecute step 3 (Claude Code: Open in sidebar) the claude-code side bar reopens in the chat panel, and has the history of recent chats.
Because the claude-code extension is still newer, there are still some refinements to be had.
What I did was add a keyboard binding to enable reopening of the Claude-code sidebar with Ctrl+Esc.
My guess is that as more people use the Claude-code sidebar in VSC, the experience will continue to be refined.