Skip to content

Diff algorithm problem #2039

@YouJiacheng

Description

@YouJiacheng

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Relevant environment info (Edited)

- OS: Windows
- Continue:
- IDE: VS Code
- Model:
- config.json:

Problem

When using Ctrl+I, many selected lines don't change, but I still need to accept/reject these "null" changes.
But I must select all of them, because I need to change the first X lines and last Y lines.
Example:
image

Solution

Support edit in diff format like https://aider.chat
image

Even if the model output is not in diff format, UI should only show the diff so that user only need to accept/reject changes.

Just like Cursor:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:inline-editRelates to the auto refactor featurekind:enhancementIndicates a new feature request, imrovement, or extension

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions