Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / April 2004

Tip: Looking for answers? Try searching our database.

Upgrade VB.Net autocomplete?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frank Rosario - 09 Apr 2004 00:33 GMT
Hello all. I want to develop an Add-in for Visual Studio.Net,
specifically for my company. The problem is developers in my company
tend to not develop their VB functions in our required spec. SO what I
want to do is alter the behaviour of the function auto complete in the
ide. For example, when a developer types:

Public Function foo(a as string) as integer

and hit return VS.Net will fill in:

Public Function foo(a as string) as integer
End Function

Instead what I want it to do is :

take

Public Function foo(a as string) as integer

and complete it as

' :::Developer Commentary goes here for doc tool:::
Public Function foo(a as string) as integer
try
catch

end try
End Function

Any pointers on how to do this? Could you point me to book, articles,
etc.? All help is greatly appreciated.
Ravikanth[MVP] - 14 Apr 2004 10:26 GMT
use QuickCode.Net(http://www.dvxp.com/downloads.asp) which is a VS.Net Addin that allows you to setup code templates that are based on a pattern.   If you type that small pattern and hit ALT-Q(I use SHIFT-ENTER easier for me) it will take the pattern you typed (usually used for parameters) and substitute it with the template you setup.

HT
Ravikanth[MVP]

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.