Skip to content

Add rewrite functionality to BECR #47

@CodesAway

Description

@CodesAway

Enhance BECR to perform rewrites / refactoring

References and ideas

  • https://comby.dev/

  • Multifile replacement

  • Will use ASTRewrite as part of Eclipse JDT

  • Callouts for replacements (0.6.0)

    • For example, each time a match is found, call a method which the user can define
    • This would allow custom refactoring to be accomplished with BECR handling the actual details, minimizing the custom code required
    • Could use Eclipse's binding information to verify the type matches what's expected
  • Ability to add imports

  • Ability to track changes so can put into report or use to change another file (such as changing one file based on the matches in another file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions