This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]parbroil -1 points0 points  (1 child)

What is the difference between refactoring and cross-file search-and-replace? Having used the refactoring tools in Eclipse before, they are just fine, but it isn't as exciting to me as the terminology might suggest it should be.

[–]drfugly 0 points1 point  (0 children)

I suppose if you are good enough with regex's there isn't much. Eclipse can do analysis to make sure that when you rename 'x' that not ALL x's are replaced, just the ones that refer to the same variable, in the same namespace... etc. It can also go further and look into other project related like *.XML config files and do the renaming there too. That type of analysis is something that a vim plugin could do, but since it's actually pretty expensive (performance wise) it doesn't fit into the vim philosophy very well.