Skip to content

[DEV] [PLUGIN] Refactoring Comparison Functionality #353

@Sevhena

Description

@Sevhena
  1. When users press the refactor smell button, the vs code editor should open up to show the old code + the new code (similar to a merge conflict)
  2. It should also show the energy statistics on how much energy the user is saving (show the initial vs. final emissions)
  3. Allow users to accept/reject the change
  4. If change is accepted, the new file should be present in the workspace
  5. If change is not accepted then old file remains
  6. This should work for changes that affect multiple files (once we get the issue resolved)

Metadata

Metadata

Assignees

Labels

devRelated to the Initial Developmentecooptimizer-pluginRelated to the VSCode plugin development

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions