Open koppor opened 1 year ago
Sounds like we ought to pretend the white space prefix of the removed method calls to the method arguments. We could start with a unit test that replicates the issue, based on the above, and then step through with the debugger to figure out how best to add that in.
Hi @koppor I want to pick this up, but I am facing issues with setting up in my local and cannot find any documentation related to it, can you please help me or point me to any documentation if present. Thanks, Pramud
Hi @pramud ! Thank you for your offer to help; here's a few links which I hope are helpful in setting up your development environment:
If you need any further help feel free to join us on Slack.
Sure, thanks @timtebeek
I am debugging this, looks like this is not because of new lines but another method invocation inside the append.
Let us know if you'd need help with that @pramud ; I've not looked into the details yet. Welcome to open a draft pull request with only an unit test that replicates the issue as a start; that helps us all look at the same test failure.
As there were build issues when I tried to build locally, raised a PR in here https://github.com/openrewrite/rewrite/pull/3202
Yes we're in the middle of an upgrade to Rewrite 8.0; if you check out this branch locally, and run ./gradlew pTML
then the rewrite-static-analysis should pick that up out of your local .m2/repository
. It's only this week that things are slightly different; once the 8.0 branch is merged, and especially once that's released things should become easier again.