Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 uuid snippet not suggested in idl files

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
SvenC Posted - Nov 22 2008 : 06:37:36 AM
Hi,

this is the case for 1707 as well as the 16xx versions. I use VC6 SP6 and VC2008 SP1 both showing the same behavior.

When I type uuid in an h or cpp file I get the uuid snippet is suggested for selection.
Doing the same in an idl file does nothing. There is only a suggestion for "unique" which disappears (correctly) after typing the second "u" of "uuid".

In idl files I need uuid much more to attribute interfaces or coclasses and so on.

I can insert the snippet by using the VAX context menu but that is much slower than getting a snippet suggestion.

Any ideas how to fix this?

--
SvenC
9   L A T E S T    R E P L I E S    (Newest First)
support Posted - Dec 01 2008 : 07:51:08 AM
case=21067 is fixed in build 1709
SvenC Posted - Nov 27 2008 : 05:27:46 AM
Fixed for me in 1709.
5 days from report to fix - great!
SvenC Posted - Nov 25 2008 : 11:48:20 AM
perfect!
support Posted - Nov 25 2008 : 11:36:54 AM
Will be fixed in 1708.
feline Posted - Nov 25 2008 : 09:06:39 AM
To be honest I have no idea what is going on here. These snippets work normally in a cpp file, so it seems to be something about IDL files. But why it only effects certain shortcut strings is a mystery.
SvenC Posted - Nov 24 2008 : 1:36:20 PM
Good suggestion. Changed uuid to iid and got it working in idl files so far.
I am a bit curious what causes this strange effect - luckily it is easily reproducable and "workaroundable" ;-)
feline Posted - Nov 24 2008 : 12:23:46 PM
After some more experiments it looks like "u" followed by any letter never triggers a snippet in an IDL file. Interestingly "u1" does work in an IDL file.

I am not sure which other letters fail, but some snippets definitely work in IDL files. Most odd. For now the work around is to change the shortcut, or to duplicate the snippet and give it a new, working shortcut. Not ideal, but hopefully more useful than selecting the snippets from a menu.

case=21067
SvenC Posted - Nov 24 2008 : 10:58:50 AM
I just tried t for true and ll for long long. Both work in my IDL file. Seems quite special to uuid - or maybe a small portion of snippets.
feline Posted - Nov 24 2008 : 10:40:19 AM
Do other VA Snippets work in for you in IDL files?

I have just tried this here, and if I add a new snippet with the shortcut id then it works in a IDL file, but the same snippet with the shortcut uuid is not suggested.

Which is rather odd.

Can you try the same test please? I am wondering if there is something odd with my system configuration. I added this snippet to the C++ node in VA Snippet editor.

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