Skip to content

Adopt the multi-file diff editor for rendering refactor previews #204370

Closed

Description

This feature request is about using the multi-diff editor in order to render the preview from the refactor preview view. Currently each change is shown in its own diff editor. We have decided to adopt the following approach to implement this:

  • On click of the refactor preview, open a multi-diff editor showing all the changes
  • Place the refactor preview view directly into the multi-diff editor. Currently it is in an output view, on the same level as the terminal.
  • Explore combining the tree of changes with the multi-diff editor

Activity

  1. added
    feature-request
    plan-item
    editor-code-actions
    on Feb 5, 2024
  2. tjx666 commented on Feb 6, 2024

    @tjx666
    Contributor

    cool

  3. aiday-mar commented on Feb 14, 2024

    @aiday-mar
    Collaborator

    One idea that was proposed by Ladislau Szomoru (@lszomoru) is to show the refactor preview in the side panel instead of within the editor (just like the results of find references). This would free some vertical space for the multi diff editor, and would allow us to reuse an existing component.

  4. jrieken commented on Feb 14, 2024

    @jrieken
    Contributor

    You can also do that. Just dnd the panel while it shows*

    Screenshot 2024-02-14 at 17 27 24

    * There is a glitch that the first time the view reset but the position is persisted and then one in the side bar.

  5. aiday-mar commented on Feb 14, 2024

    @aiday-mar
    Collaborator

    Ah yes that's right

  6. added
    verified
    and removed
    verified
    on Mar 26, 2024
  7. added
    verification-needed
    verified
    and removed
    verified
    on Mar 26, 2024
  8. locked and limited conversation to collaborators on Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

editor-code-actionsfeature-requestplan-itemverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions