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
 Add highlighted string to resource table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jlbooth318
Junior Member

17 Posts

Posted - Jul 14 2006 :  12:16:11 PM  Show Profile  Reply with Quote
It would be nice if VAX had the ability to automatically add a string to the resource table and assign a resource ID to it.

Like:

strcpy(s,"Gotta love Visual Assist X!");

If you hover over the text in the quotes, there would be an option in the hover menu "Make string resource". Perhaps VAX could put the new assigned resource ID on the line just above the current line.

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Jul 15 2006 :  11:53:01 AM  Show Profile  Reply with Quote
an interesting idea, i have put in a feature request.

case=1698

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

bugfix
Tomato Guru

Germany
324 Posts

Posted - Jul 15 2006 :  12:50:13 PM  Show Profile  Reply with Quote
FWIW there might be more than one string table e.g. for different languages. How would VAX know from a piece of text where to put it?

http://www.mf-sd.de
Go to Top of Page

jlbooth318
Junior Member

17 Posts

Posted - Jul 16 2006 :  12:34:22 AM  Show Profile  Reply with Quote
That is a good question (one that I didn't think about when posting the suggestion). I would suppose it would default to the string table that corresponds to the current OS language on the developer's machine. Alternatively, perhaps there could be a way to designate which string table to send the string.

It becomes more problematic if there are multiple language resources within the resources of the current project. It is not as difficult when using satellite DLLs to house the localized resources. Because in this case, the highlighted string would target the stringtable in the current project.

As the VS2003 string table editor is kind of cumbersome, I am looking for a way to make it easier to put hardcoded strings into the resource table.
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Jul 16 2006 :  01:10:05 AM  Show Profile  Reply with Quote
Since the .rc file is a text file, you could open it in the Source editor (right click on it in the solution viewer). Then, you could probably figure out some way to help the cut-and-paste process.

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Jul 16 2006 :  12:18:36 PM  Show Profile  Reply with Quote
if there is more than one string table the VA will probably have to ask which one to use. some form of default may work, but i wonder if the possible problems out way the benefits.

thank you for the warning bugfix, its one of those things that is obvious once someone points it out i have put a note on the case about this.

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

gertrijs
New Member

3 Posts

Posted - Apr 18 2008 :  03:33:43 AM  Show Profile  Reply with Quote
Any news on this? This would be a great time saver for me.

Gert
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18941 Posts

Posted - Apr 18 2008 :  10:43:00 AM  Show Profile  Reply with Quote
Unfortunately no progress on this so far. It is still in our list of things to consider doing, for what that's worth.

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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000