-
Notifications
You must be signed in to change notification settings - Fork 32
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
Integration of OpenRewrite #1031
Labels
Comments
Thank you @hohwille . Below I listed some topics to discuss:
So here are my suggestions:
|
after the conversation on Friday, Feb 21st, we reached these agreements:
|
Generally speaking, these parts need to be done:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a IDEasy user, I want to be able to run OpenRewrite on my project so that I can refactor and modernize my code.
I would like that IDEasy offers shortcuts and easier syntax for common use-cases (recipes) since usage of OpenRewrite is rather complex.
Example/Idea:
ide rewrite assertj
would trigger all recipes that migrate to AssertJ (e.g. hamcrest to AssertJ and JUnit to AssertJ)Still I could run a full recipe like:
ide rewrite org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ
for the single recipe as a shortcut forFor recipes we newer knew about and do not have supported in our code, we still need a generic usage:
However, the cool thing would be to have support for known recipes in our code so we can ommit
--artifact=...
option and make things much easier.Then we define short names for recipes or groups of recipes like suggested with
ide rewrite assertj
that would technically runAND
Theoretically if
REWRITE_VERSION
is set to an explicit version, we could omit-U
and specify the explicit version of open-rewriteorg.openrewrite.maven:rewrite-maven-plugin:«version»:run
The text was updated successfully, but these errors were encountered: