reCode: A Lightweight Find-and-Replace Interaction in the IDE for Transforming Code by Example
summary
reCode is a Visual Studio Code extension that turns a simple search into a demonstrated, synthesized transformation: type a short search like bind or expect, edit one example (multi-line edits allowed), and the tool learns an AST-level synthesis to generalize the change (e.g., convert bind+method to arrow functions or merge expect/toEqual into same(a,b)). Suggestions appear as accept/reject inline diffs in the Find results; a usability study (n=12) shows tasks complete in under five minutes on average.
AI-written summary · about
chapters (4)
related talks
30mYour IDE deserves better
47mComputer, refactor my code!
32mFeedback and the REPL
43mAutomate Code Changes - Bringing OpenRewrite to the IDE
45mAI Assistance for Software Teams: The State of Play
50mOpenRewrite: Refactor as Code
21mVS Code Can Do That?
28mCode, Preview, Perfect: Building IDE for React Native
