Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support generation of open rewrite snippet when performing refactorings #870

Open
laeubi opened this issue Oct 21, 2023 · 0 comments
Open

Comments

@laeubi
Copy link
Contributor

laeubi commented Oct 21, 2023

OpenRewrite 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 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 to be shipped with the artifact so it can be applied afterwards to code bases using that library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant