Have you checked the Snippets in .NET 2.0?

Administrator

VB.NET Forum Admin
Joined
Jun 3, 2004
Messages
1,462
Programming Experience
10+
Hello VB.NET'ers,

Lot's of great questions here, but are you using all the available resources just a mouse click away? If you're using the awesome VB.NET 2005, don't forget to checkout the included source code snippets! Right-click in the code editor and at the top of the menu you'll see the Insert Snippet... menu item. Check out the available snippets!!! Pretty kewl!
 
Yea, use it loads. It's like having a macro to generate the code for you, without having to write a macro!! Also there is 'room' to write your own snippets. It's a great addition to 2005, pretty soon we won't even have to type at all!:D
 
I have not used it much myself, but I have recommended it in several post here :) pretty limited in Express edition but still useful!
 
I use it in C# - havent figured out how to use it in VBN

property in C#:
prop<tab><tab>


How do we do it in VB, other than insert-snippet and navigate that awkward menu or type Public Property blah as Integer<return>?
 
In VB you can write 'property' and press TAB to insert this snippet.
 
Or just right-click in a new line and you'll see at the top of the context menu the Insert Snippet menu item. Neat system!
 
That'd be the 'awkward' menu of cjards complain.. :)
 
Back
Top