Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Rename source files/classes

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
GennadiyKorol 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).

Thanks!
6   L A T E S T    R E P L I E S    (Newest First)
support Posted - Sep 13 2012 : 2:03:12 PM
case=1463 is implemented in build 1916
feline Posted - Sep 15 2008 : 4:31:08 PM
This forum thread which describes controlling VA from IDE macro's should help you:

http://docs.wholetomato.com?W382

and you may also find some useful bits of VBScript code in this forum section:

http://www.wholetomato.com/forum/forum.asp?FORUM_ID=35

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.
GennadiyKorol Posted - Sep 15 2008 : 2:26:28 PM
Yes, that's what I've intended to use, VA Rename.
accord Posted - Sep 15 2008 : 1:53:47 PM
Search and Replace is an IDE command. Do you think to Va Rename?
GennadiyKorol 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?
accord 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 :)

case=1463

© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000