Comments (1)
Hi @cjobinabo ! Thanks for logging an issue; we have this information available through markers on the LST elements, and it's what we use to show why changes were made in the Moderne Platform.
It's also used to for instance log what recipes made changes in the Maven plugin:
https://github.com/openrewrite/rewrite-maven-plugin/blob/bbb8fceda21d419965902c26519330ef16858d31/src/main/java/org/openrewrite/maven/AbstractRewriteMojo.java#L489-L516
I'm not sure what the best way would be to show any additional information to the user. Especially when recipes are hierarchical, there's a lot more information than would fit well within a comments, and some code changes affect comments & JavaDoc, further complicating the output.
Perhaps there's alternative output formats we could build into the Maven/Gradle plugins that are better suited to annotate changes? This suggestion comes to mind
from rewrite.
Related Issues (20)
- Problem with parsing groovy files HOT 1
- RenameVariable does not modify variables referenced through type casts HOT 5
- Groovy Parser Failes on Method Reference Operator :: HOT 3
- Allow custom YAML filenames in YamlParser HOT 4
- There were problems parsing Inner Class HOT 1
- Parsing issue with duplicate imports HOT 2
- GroovyParser issue with statically imported constants HOT 2
- GroovyParser issue with variable assignment using Map HOT 3
- org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods ignores class level @SuppressWarnings("unused")
- Gradle Plugin/Openrewrite should skip files anntoated with javax.annotation.Generated HOT 3
- 🐛 null is not an object (evaluating 'u.upgradesAndMigrations.map') HOT 2
- MavenPomDownloader - UncheckedIOException does not get wrapped into MavenDownloadingException HOT 1
- XPathMatcher doesn't find the path in the XML document if searched with tag attribute and hence changeTagValue recipe doesn't work as expected. HOT 2
- Expand getCoordinates of newClass to access arguments HOT 1
- Issue discovered on `docs/spring-authorization-server-docs.gradle` with `Change Gradle dependency artifact` HOT 1
- AppendToTextFile doesn't support newline-separated values? HOT 7
- StackOverflowError on attempt to run against import dependencies HOT 2
- add gradle dependency when using spring boot dependency management HOT 2
- `SSLHandshakeException` stacktrace from `maven.java.net` not actionable, possibly should not have been attempted HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rewrite.