Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Ask ClaudeNew to Visual Studio Code? Get it now.
Ask Claude

Ask Claude

duoc95

|
26 installs
| (0) | Free
Point to code or terminal errors to chat with Claude Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Ask Claude VS Code Extension

A VS Code extension that allows you to point to code or add terminal errors to chat with Claude Code instead of copy-pasting.

Features

  • Send Selected Code to Claude Code: Right-click on selected code and choose "Send to Claude Code" to ask questions about specific code snippets
  • Send Terminal Errors to Claude Code: Right-click in terminal and choose "Send Terminal Error to Claude Code" to get help with errors

Usage

For Code Questions

  1. Select the code you want to ask about
  2. Right-click and select "Send to Claude Code"
  3. Enter your question in the input box
  4. The extension will open Claude Code in a new terminal with your code and question

For Terminal Errors

  1. Right-click in the terminal
  2. Select "Send Terminal Error to Claude Code"
  3. Paste the error message
  4. Enter what you want Claude Code to help with
  5. The extension will open Claude Code with your error and request

Requirements

  • VS Code 1.74.0 or higher
  • Claude Code CLI installed and available in your PATH

Installation

  1. Install the extension from the VS Code marketplace
  2. Make sure you have Claude Code CLI installed: npm install -g @anthropic/claude-code

Commands

  • Ask Claude: Send to Claude Code - Send selected code to Claude Code
  • Ask Claude: Send Terminal Error to Claude Code - Send terminal error to Claude Code
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft