anthropics / anthropics/claude-code

[FEATURE] Allow manual editing of proposed changes in the diff view before accepting

Open
#95,579 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area:tui enhancement
Dominant language
TypeScript
Stars
147k
Forks
24k
PR merge metrics
PR metrics pending

Description

Preflight Checklist
  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)
Problem Statement

When Claude Code proposes a change, I can only accept or reject it. If the change is 90% right but needs a small tweak (a variable name, a comment, an off-by-one), I have to accept it and edit the file myself, or reject it and re-prompt. Both add friction, and re-prompting can produce a different change entirely.

Proposed Solution

Make the diff view editable. I could modify the proposed lines directly, then accept, and Claude Code would apply my edited version and treat it as the new file state.

Alternative Solutions

No response

Priority

High - Significant impact on productivity

Feature Category

File operations

Use Case Example

No response

Additional Context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not identify files, tests, or entry points. Start by locating the terminal diff-view implementation and its accept/reject flow; the feature is done when proposed lines can be edited in the diff view and the accepted result applies the edited content as the new file state.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.