eclipse-jdt / eclipse-jdt/eclipse.jdt.ui
Support generation of open rewrite snippet when performing refactorings
- Dominant language
- Java
- Stars
- 59
- Forks
- 127
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 37
Description
[OpenRewrite](https://docs.openrewrite.org/) allows to refactor large code bases "offline" from the actual refactoring happen.
It would be great if JDT has an option to generate an [OpenRewrite recipe](https://docs.openrewrite.org/recipes/java) whenever one performs a refactoring (for example add a method parameter). This can then be saved inside the project under [`META-INF/rewrite/my-recipes.yml`](https://docs.openrewrite.org/concepts-explanations/environment) to be shipped with the artifact so it can be applied afterwards to code bases using that library.
Contributor guide
Research direction
The issue names no JDT files, tests, or entry points. Start with the OpenRewrite recipe documentation and identify the JDT refactoring entry points that would need generation. Done means a refactoring can optionally produce a recipe suitable for META-INF/rewrite/my-recipes.yml.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100