T O P I C R E V I E W |
jlbooth318 |
Posted - Jul 14 2006 : 12:16:11 PM 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. |
7 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - Apr 18 2008 : 10:43:00 AM Unfortunately no progress on this so far. It is still in our list of things to consider doing, for what that's worth. |
gertrijs |
Posted - Apr 18 2008 : 03:33:43 AM Any news on this? This would be a great time saver for me.
Gert |
feline |
Posted - Jul 16 2006 : 12:18:36 PM 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. |
jpizzi |
Posted - Jul 16 2006 : 01:10:05 AM 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.
|
jlbooth318 |
Posted - Jul 16 2006 : 12:34:22 AM 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. |
bugfix |
Posted - Jul 15 2006 : 12:50:13 PM 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? |
feline |
Posted - Jul 15 2006 : 11:53:01 AM an interesting idea, i have put in a feature request.
case=1698 |