Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Shift+Alt+R should also rename module.def file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

foxmuldr
Tomato Guru

USA
291 Posts

Posted - Mar 23 2020 :  5:57:55 PM  Show Profile  Reply with Quote
If you have an exports file (module.def) and you rename a symbol used within, it should rename the entry in the module.def as well.

foxmuldr
Tomato Guru

USA
291 Posts

Posted - Mar 23 2020 :  7:20:34 PM  Show Profile  Reply with Quote
Relates to:
http://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=11736
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16433 Posts

Posted - Mar 24 2020 :  10:54:04 AM  Show Profile  Reply with Quote
Unfortunately we still don't search these files. I have tried some tests here to see if it is easy to trick VA into searching these files, but they have their own specific syntax, so a sensible check will require some understanding of the file format.

I have noted on the case that you are still interested in this:

case=52615

zen is the art of being at one with the two'ness
Go to Top of Page

foxmuldr
Tomato Guru

USA
291 Posts

Posted - Mar 27 2020 :  3:19:00 PM  Show Profile  Reply with Quote
The format is:

EXPORTS

function1_name
function2_name

-----

If you rename "function1_name" to "newfunction_name" it should do a simple replace on that line.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
16433 Posts

Posted - Mar 27 2020 :  3:33:40 PM  Show Profile  Reply with Quote
You can have numbers after the function names, or keywords. But yes, in general, for this file type it is just a search and replace. But we need to be careful extending to other file types, since the extension does not always guarantee the nature of the file.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000