Get the latest tech news
Improvements to OCaml code editing: the basics of a refactor engine
Timéo shares his project integrating new refactoring features into Merlin, improving user experience with a new command.
As part of my Tarides internship (on the editor side), I specified several useful commands, inspired by competitors and materialised in the form of RFCs, subject to discussion. Since it touched on several parts of the protocol and required tools that could be reused for other features, it was important to design the system with extensibility and modularity in mind. This kind of request has the merit of working out of the box without requiring any plugin or specific command support on the editor side (which oils the wheels for maintenance).
Or read this on Hacker News