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
 uuid snippet not suggested in idl files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenC
Tomato Guru

Germany
339 Posts

Posted - Nov 22 2008 :  06:37:36 AM  Show Profile  Reply with Quote
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

Edited by - SvenC on Nov 22 2008 06:39:24 AM

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Nov 24 2008 :  10:40:19 AM  Show Profile  Reply with Quote
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.

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

SvenC
Tomato Guru

Germany
339 Posts

Posted - Nov 24 2008 :  10:58:50 AM  Show Profile  Reply with Quote
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.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Nov 24 2008 :  12:23:46 PM  Show Profile  Reply with Quote
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

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

SvenC
Tomato Guru

Germany
339 Posts

Posted - Nov 24 2008 :  1:36:20 PM  Show Profile  Reply with Quote
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" ;-)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Nov 25 2008 :  09:06:39 AM  Show Profile  Reply with Quote
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.

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

support
Whole Tomato Software

5566 Posts

Posted - Nov 25 2008 :  11:36:54 AM  Show Profile  Reply with Quote
Will be fixed in 1708.
Go to Top of Page

SvenC
Tomato Guru

Germany
339 Posts

Posted - Nov 25 2008 :  11:48:20 AM  Show Profile  Reply with Quote
perfect!
Go to Top of Page

SvenC
Tomato Guru

Germany
339 Posts

Posted - Nov 27 2008 :  05:27:46 AM  Show Profile  Reply with Quote
Fixed for me in 1709.
5 days from report to fix - great!
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Dec 01 2008 :  07:51:08 AM  Show Profile  Reply with Quote
case=21067 is fixed in build 1709
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