471,338 Members | 1,119 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Visual Studio Add-in or Macro Creation Advice?

Good day, dotnet.general Folks,

I'm not sure if this is the correct forum for posting general Visual Studio
..NET questions, but I hope so. If not, please forgive and tell me where to
post instead. Thanks!

I have in mind a simple add-in or macro for Visual Studio .NET 2003 and I
wanted some advice about it. What I envision is a simple tool to look for
and warn of "broken event handler links", which is sometimes a problem with
VS .NET. The logic will be pretty simple as follows:

1) Assume standard naming convention for event handlers, i.e., those created
by the IDE which will include an underscore character.
2) Assume link to so-named event handler must be in same file's
InitializeComponent method.
3) Check all *.cs files for event handlers and if they exist, make sure
corresponding link exists in InitializeComponent method.
4) If event handler found without corresponding link assignment in
InitializeComponent, somehow warn Developer that this is a possible broken

Questions for you:
1) Would this be better as an add-in or a macro?
2) I've never developed either an add-in or a macro for VS .NET, but I see
lots of examples from others who've done this. How would you compare the
learning curve for each?
3) Is it possible to add this as a check when an F5 Build Solution command
is invoked and then generate a warning or error in the standard Output
message window?

Thanks in advance for your help & advice,
Joel Koblich
Jul 21 '05 #1
0 1075

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rene Muench | last post: by
19 posts views Thread by Alf P. Steinbach | last post: by
1 post views Thread by Daniel A. Thomas | last post: by
5 posts views Thread by Slawomir Piotrowski | last post: by
reply views Thread by Ryan | last post: by
5 posts views Thread by dougdoc | last post: by
1 post views Thread by Norman Diamond | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.