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
 Technical Support
 Autotext
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

replay
Junior Member

21 Posts

Posted - Nov 15 2005 :  06:42:55 AM  Show Profile
i have 2 shortcuts with the autotext not working fine since several versions...
one is /* and the other is /** but it always generate the first one

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Nov 15 2005 :  6:32:50 PM  Show Profile
which IDE and version of VA are you using? which language are these rules for? i have just added two rules with these shortcuts to C++, using VS 2003, C++ and VA 1432 and they both work correctly.

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

replay
Junior Member

21 Posts

Posted - Nov 16 2005 :  11:28:38 AM  Show Profile
VA 1432 & VS2003
i tried to remove the shortcuts and rebuild it, but it's always the same
If i swap the order in the list of the shortcuts, the 1st one is always used
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Nov 16 2005 :  5:25:44 PM  Show Profile
can you open the relivent file:

"C:\\Program Files\\Visual Assist X\\Autotext\\Cpp.tpl" for C++
"C:\\Program Files\\Visual Assist X\\Autotext\\CS.TPL" for C#

in a text editor, search for the sections for your two autotext rules, and post it here please. this way i can be sure i am using the same rules as you, then i can test this. you do need to tell me the language you are using, because this may be relevant.

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

replay
Junior Member

21 Posts

Posted - Nov 23 2005 :  10:34:29 AM  Show Profile
i'm only using it in cpp.tpl, so here it comes:

a::/*:
/*************************************************************************************************
*
* $end$
*/
a::/**:
/************************************************************************************************/
$end$
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Nov 23 2005 :  3:17:46 PM  Show Profile
odd. i have added these two to my C++ autotext rules, using VS2003 and VA 1432, and i get one or the other. for ease i have named them, so there cannot be any confusion with my existing comment autotext rules.

i am seeing:





can you try giving these rules names in the edit autotext dialog -> title field

just to make sure that there is no confusion over what is going on here.

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

replay
Junior Member

21 Posts

Posted - Nov 24 2005 :  04:38:40 AM  Show Profile
there is no title for both rules
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Nov 24 2005 :  12:58:12 PM  Show Profile
We get behavior that feline gets. Autotext for /* and /** co-exist without problem.

Make sure the "expanded code" for the /* entry is not blank. If it's blank, VA X ignores it.
Go to Top of Page

replay
Junior Member

21 Posts

Posted - Nov 25 2005 :  05:57:03 AM  Show Profile
Ok, with the title set for both entries, it worx now, thx
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000