4 ms·
There's another giant advantage to renaming in an IDE over a text editor: You can be sure not to clobber any other variable/method references. Here's an exampl
by sirclueless 15y ago
There's another giant advantage to renaming in an IDE over a text editor: You can be sure not to clobber any other variable/method references.
Here's an example, I want to change the name of my MyClass.Execute() method to something more descriptive. In an IDE, I right click and rename and I'm done.
In vim or other plaintext editors this is practically impossible without manually inspecting each call-site. Is "foo.Execute()" a reference to MyClass.Execute() or YourOtherClass.Execute()? Without actually parsing the program it's tough to know.
I love using vim, and I'm getting better at it the more I use it, but this is one of the major productivity drains I encounter that an IDE does way better.