auto complete code

  • Thread starter Thread starter Jak
  • Start date Start date
J

Jak

Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the codes
automatically after I entered two or three characters, just like Delphi
does.

Thanks,

Jack Zhong
 
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?
 
Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a dropdown
list pop up, so you can select one from the list to complete the rest of
your code. For instance, if you type 'se', then there are 'self', 'sender',
'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Jak said:
Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Jak,

Code snippets are bits of code that are stored on the hard drive that you
can copy and paste into your program. Not sure myself if they are searchable
as you describe of Delphi, but you can store an entire function, class or
type as a snippet. If I am incorrect, I'm sure others will be more than
happy to correct me. :)

Also, in VB2005, if you type in the name of an object and it has members
that can be accessed, as soon as you type a period after the object name, it
will display the available members that you can select from.

Hope this helps,

Bruce
 
For instance, if you type 'se', then there are 'self', 'sender',
'select' and some other items begin with 'se' in the list.

This sounds like how intellisense behaves in the C# IDE (it pops up as
soon as you start typing - not when you type a period). To simulate
this behavior in Visual basic just type in 'se' and then press Ctrl+J -
this will bring up the intellisense menu.

Thanks,

Seth Rowe

Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a dropdown
list pop up, so you can select one from the list to complete the rest of
your code. For instance, if you type 'se', then there are 'self', 'sender',
'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Jak said:
Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Thanks Seth. Learning is a wonderful thing... :)

Bruce

rowe_newsgroups said:
For instance, if you type 'se', then there are 'self', 'sender',
'select' and some other items begin with 'se' in the list.

This sounds like how intellisense behaves in the C# IDE (it pops up as
soon as you start typing - not when you type a period). To simulate
this behavior in Visual basic just type in 'se' and then press Ctrl+J -
this will bring up the intellisense menu.

Thanks,

Seth Rowe

Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a
dropdown
list pop up, so you can select one from the list to complete the rest of
your code. For instance, if you type 'se', then there are 'self',
'sender',
'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Jay,
See "Tools - Code Snippets Manager" to review & define the list of code
snippets.

Right click & select "Insert Snippet" to insert a code snippt.

http://msdn2.microsoft.com/en-us/vstudio/aa718338.aspx

http://msdn2.microsoft.com/en-us/library/18yz4be4(VS.80).aspx

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Jak said:
Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a dropdown
list pop up, so you can select one from the list to complete the rest of
your code. For instance, if you type 'se', then there are 'self',
'sender', 'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Jak said:
Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Thank you, Seth, Ctrl+J is just what I am looking for.

Best regards,

Jack


rowe_newsgroups said:
For instance, if you type 'se', then there are 'self', 'sender',
'select' and some other items begin with 'se' in the list.

This sounds like how intellisense behaves in the C# IDE (it pops up as
soon as you start typing - not when you type a period). To simulate
this behavior in Visual basic just type in 'se' and then press Ctrl+J -
this will bring up the intellisense menu.

Thanks,

Seth Rowe

Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a
dropdown
list pop up, so you can select one from the list to complete the rest of
your code. For instance, if you type 'se', then there are 'self',
'sender',
'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Hi, Jay,

Thank you, I am really looking for is Ctrl+j, but I learned what Code
Snippets was and how to use it from you.

Regards,

Jack Zhong

Jay B. Harlow said:
Jay,
See "Tools - Code Snippets Manager" to review & define the list of code
snippets.

Right click & select "Insert Snippet" to insert a code snippt.

http://msdn2.microsoft.com/en-us/vstudio/aa718338.aspx

http://msdn2.microsoft.com/en-us/library/18yz4be4(VS.80).aspx

--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Jak said:
Hi, Jay,

Sorry, would you mind telling me more about Code Snippets you mentioned?

In Delphi IDE, after you type two or three characters, there is a
dropdown list pop up, so you can select one from the list to complete the
rest of your code. For instance, if you type 'se', then there are 'self',
'sender', 'select' and some other items begin with 'se' in the list.

Rgds,


Jay B. Harlow said:
Jak,
Not sure what Delphi is doing.

Do Code Snippets do what you want?


--
Hope this helps
Jay B. Harlow [MVP - Outlook]
.NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Hi, all,

I am wondering if there are any addons for VB.NET 2005 to complete the
codes automatically after I entered two or three characters, just like
Delphi does.

Thanks,

Jack Zhong
 
Back
Top