2 ms·
Yes, I often find that copilot is pretty good at picking up on the pattern of refactorings that I am doing. Especially those that are a bit tedious and almost
by eru 3y ago
Yes, I often find that copilot is pretty good at picking up on the pattern of refactorings that I am doing.
Especially those that are a bit tedious and almost mechanical, but not quite mechanical enough to do with a simple search-and-replace.
- skydhash 3y agoVim and text motions should do the trick.
- dartos 3y agoSure, but doing the refactor the first time, without thinking about how to record a vim macro, then just hitting tab to have copilot do the same change over and over is a lower friction experience
- eru 3y agoTotally depends on what kind of refactoring you want to do; and how well vim's commands map to your language's syntax, too. (Or whether your vim has special support for your language's syntax.)