Skip to content

[BUG] Cannot edit file changes in VS Code integration anymore #5764

Description

@JakobBruenker

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • Claude CLI version: 1.0.80
  • Operating System: Windows 11, using WSL with Ubuntu 22.04
  • terminal: VSCode

Bug Description

It used to be the case that if Claude suggested an edit and you had VS Code connected, you could see the diff, and make changes to the diff. Pressing enter in the terminal would accept the edit while discarding your changes, however saving the open VS Code diff editor would save the changes you made.

Now however, those changes are discarded regardless.

This wastes a lot of time because each time you want to change something you either have to tell Claude exactly what you want to change or find the place where the edit was made and reorient yourself again.

Steps to Reproduce

  1. Open Claude Code, making sure it's connected to VS Code
  2. Have Claude Code edit a file
  3. Make manual changes to the opened diff editor
  4. Save the open diff editor

Expected Behavior

The manual changes should be part of the file, as well as part of what is shown as the edit that was performed in the terminal (both of these used to be the case)

Actual Behavior

The changes are discarded and now shown in the terminal

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:idebugSomething isn't workingplatform:windowsIssue specifically occurs on Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions