|T O P I C R E V I E W
||Posted - Sep 12 2008 : 8:05:35 PM
Sometimes you need to rename a class, which involves renaming its file name as well. But then it involves updating all #include references to that file in all other source files.
This is something that right now you have to manually search/replace and is a bothersome routine.
In Eclipse you just apply refactoring on a class and it automatically does all this job for you.
It would be very nice to have this in VAX (optional in case some disagree with the convention).
|6 L A T E S T R E P L I E S (Newest First)
||Posted - Sep 13 2012 : 2:03:12 PM
case=1463 is implemented in build 1916
||Posted - Sep 15 2008 : 4:31:08 PM
This forum thread which describes controlling VA from IDE macro's should help you:
and you may also find some useful bits of VBScript code in this forum section:
If you want to invoke VA's Rename command from a VBScript remember that the Rename dialog will appear, which you need to use manually.
||Posted - Sep 15 2008 : 2:26:28 PM
Yes, that's what I've intended to use, VA Rename.
||Posted - Sep 15 2008 : 1:53:47 PM
Search and Replace is an IDE command. Do you think to Va Rename?
||Posted - Sep 13 2008 : 1:43:58 PM
So it's a case for another VB script to write (gotta sharpen my VB skills!).
A question then - is there a way to invoke VAX's find replace from within a script?
||Posted - Sep 13 2008 : 07:13:18 AM
We are considering this idea, but have no immediate plans to try and do this. One reason is possible problems with source control systems. If we automatically rename files you can use the file history, and trying to plug into and update any number of different source control systems is not going to happen :)