4 ms·
What do you use for automatic refactoring? Are there good command line tools for renaming methods across an entire source tree for example?
by mrgoldenbrown 14y ago
What do you use for automatic refactoring? Are there good command line tools for renaming methods across an entire source tree for example?
- tomsthumb 14y agosed can do in place recursive changes for search patterns. if you use vim search and replace across a file it's pretty much the same.
- mrgoldenbrown 14y agoI was thinking of something more context aware than a simple find/replace. If you're changing MyClass.getFoo() to MyClass.getBar(), you only want to do that on instances of MyClass.
- lsiebert 14y agoIf there is a plugin for intelligent refactoring in vim, I have yet to see it. You can use tabdo or buffdo for multiple files, but the class/object parsing isn't there.