Automate Code Changes - Bringing OpenRewrite to the IDE
summary
Demonstrates embedding OpenRewrite recipes into the Spring Tools language server so Eclipse and VS Code can run automated migrations and quick fixes. Shows concrete runs: a Spring Boot 2→3 migration that updates parent and Java version to 17, swaps package imports to Jakarta, changes MySQL connector coordinates, edits pom and properties, and converts strings to text blocks. Validation uses JDT for fast squiggles while quick fixes using OpenRewrite apply the edits; initial memory/performance issues appear but the IDE integration otherwise works.
AI-written summary · about
chapters (15)
- 0:00Automating code changes
- 1:54What is OpenRewrite
- 4:03How OpenRewrite works
- 6:34Recipes and visitors
- 9:25OpenRewrite catalog
- 13:21Maven builds with OpenRewrite
- 14:47Simple recipe demo
- 16:53IDE integration
- 17:56Eclipse integration demo
- 21:08Spring Boot migration
- 22:10Spring Boot migration demo
- 25:21IDE validations and fixes
- 27:26Quick fixes demo
- 31:23Resources and next steps
- 32:10Q&A
related talks
41mOpen Rewrite – Dive in Automated Refactoring
50mOpenRewrite: Refactor as Code
47mSpring Tools Live - All the Great New Things
17mMajor migrations made easy
45mMajor migrations made easy
54mHybrid Modernization: Combining OpenRewrite's Precision with LLM Intelligence for Spring
51mMajor Migrations Made Easy
48mWeeding Your Micro Service Landscape
