Creating a Sub/Function routine

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello!

Say, in VB.NET, is there a 'point & click' feature for creating
subs/functions/etc like in VB 6.0? If not, is there a 3rd party one that can
be used? If so, how do I go about installing it?
 
Yes, use Code Snippets.

In the code editor, type in ? and hit <Tab>. This will bring up a list of
snippets you can insert.

Look under Common Code Patterns / Properties and Procedures
for the ones to create functions and subroutines.

If you look at the code snippet in the dropdown, and highlight
the one you want, in the tooltip text it will give you a shortcut word.
You can type the shortcut word in the editor and hit <Tab> and it
will insert the code snippet.

For example, the one to create functions is Function<Tab>.

Code Snippets are the best thing since sliced bread. You
can write your own, too.

This is in VS2005. I don't know if it's in earlier versions.

Robin S.
 
Thanks alot for the info!! Yup, Yup... Those are cool...!
--
Thanks!
Soddy


RobinS said:
Yes, use Code Snippets.

In the code editor, type in ? and hit <Tab>. This will bring up a list of
snippets you can insert.

Look under Common Code Patterns / Properties and Procedures
for the ones to create functions and subroutines.

If you look at the code snippet in the dropdown, and highlight
the one you want, in the tooltip text it will give you a shortcut word.
You can type the shortcut word in the editor and hit <Tab> and it
will insert the code snippet.

For example, the one to create functions is Function<Tab>.

Code Snippets are the best thing since sliced bread. You
can write your own, too.

This is in VS2005. I don't know if it's in earlier versions.

Robin S.
 
Back
Top