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
 Generate UUID
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

SvenC
Tomato Guru

Germany
339 Posts

Posted - Feb 03 2004 :  02:42:29 AM  Show Profile
Could you suggest a GUID as auto complete tooltip whenever the uuid attribute is typed in attributed COM programming?

This looks like so:

[
uuid("00000000-1111-2222-3333-444444444444"),
object, dual
]
__interface IMyInterface
{
// ...
};

So when I typed uuid(" I have to create a GUID manually with an external tool. Instead I would like VAX to create the GUID on the fly.

Bye,
SvenC

kschaab
Tomato Guru

USA
118 Posts

Posted - Feb 04 2004 :  1:36:01 PM  Show Profile
Not saying that autogen in Visual Assist wouldn't be cool but the following can be accomplished with the macro code:

Sub NewGuid()
DTE.ActiveDocument.Selection.Text = System.Guid.NewGuid().ToString()
End Sub

and assigning this to a keystroke
Go to Top of Page

SvenC
Tomato Guru

Germany
339 Posts

Posted - Feb 04 2004 :  2:00:44 PM  Show Profile
Thanks for the idea - not really intellisense but it does the job. Biggest difficulty was to find a meaningful and available shortcut in VS.Net :)

Nevertheless I am still hoping and voting for a GUID intellisense enhancement in VAX.
Go to Top of Page

kschaab
Tomato Guru

USA
118 Posts

Posted - Feb 04 2004 :  6:50:21 PM  Show Profile
It would be nice, especially if you template alot of this code therefore you could have a template to do the whole thing and not have to go back and generate a GUID yourself. I just felt your pain and wanted to give you an asprin until you get this awesome feature in VA!
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