openrewrite / openrewrite/rewrite
Remove the ordering limitation (LST before FindAndReplace)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 3.7k
- Forks
- 571
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 261
Description
What problem are you trying to solve?
Currently there is a constraint on recipe order https://docs.openrewrite.org/recipes/text/findandreplace
Describe the solution you'd like
As discussed on slack https://rewriteoss.slack.com/archives/C01A843MWG5/p1686745375884939
If possible, it would make sense to remove that strong limatation.
Have you considered any alternatives or workarounds?
Have an option to allow auto-ordering
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the recipe-ordering documentation for FindAndReplace and the linked Slack discussion. No source files or tests are named, so trace where the LST-before-FindAndReplace constraint is enforced. Done means the strong ordering limitation is removed or an agreed auto-ordering option is implemented and verified.
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
- Needs clarification
- Newbie friendliness
- 25/100