Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Claude Code Diff FeedbackNew to Visual Studio Code? Get it now.
Claude Code Diff Feedback

Claude Code Diff Feedback

fliellerjulian

|
3 installs
| (0) | Free
Send inline feedback on git diffs directly to Claude Code terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Claude Code Diff Feedback

Send inline feedback on git diffs directly to Claude Code from VS Code/Cursor.

Features

  • Inline Comments on Changed Lines: Comment threads automatically appear on git diff additions
  • Send to Claude Code: Click "Send" to submit feedback directly to your Claude Code terminal
  • Smart Terminal Detection: Automatically finds your Claude Code terminal or lets you choose
  • Proper File References: Uses @file:line syntax for accurate code navigation
  • Contextual Diffs: Includes only relevant diff hunks with your feedback

Requirements

  • VS Code or Cursor 1.85.0 or higher
  • Git extension enabled
  • Claude Code running in a terminal

Installation

From VSIX (Current)

  1. Download the latest .vsix file from releases
  2. Run: code --install-extension claude-code-feedback-0.0.1.vsix --force
  3. Reload VS Code/Cursor

From Source

git clone https://github.com/yourusername/claude-code-feedback
cd claude-code-feedback
npm install
npm run compile
vsce package
code --install-extension claude-code-feedback-0.0.1.vsix --force

Usage

  1. Make changes to files in a git repository
  2. Comment threads will appear on added lines (look for the + icon)
  3. Click the comment icon and type your feedback
  4. Click "Send" to submit to Claude Code
  5. Claude Code receives your message with file context and starts working

Example Message Format

When you send feedback, Claude Code receives:

@src/example.ts:10-15

Change request: Make this function async

```diff
+  function example() {
+    return fetch('/api/data');
+  }

## Configuration

### Terminal Pattern

If the extension can't find your Claude Code terminal automatically, configure a pattern:

```json
{
  "claude-code-feedback.terminalNamePattern": "node"
}

Development

Setup

npm install

Run Extension

  1. Press F5 to open Extension Development Host
  2. Open a folder with git changes
  3. Make changes and test commenting
  4. Press Cmd+R (Mac) / Ctrl+R (Windows/Linux) in the Extension Development Host to reload

Build

npm run compile

Package

npm run package

How It Works

  1. Extension monitors git-tracked files for changes
  2. Parses git diff to find added line ranges
  3. Creates comment threads on those ranges
  4. When you submit feedback, formats message with file reference and context
  5. Sends message to Claude Code terminal via sendText API

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

License

MIT

Credits

Created for use with Claude Code by Anthropic.

Support

  • Report issues
  • Request features
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft