C# "///" Question

I

Ice

Hello,

I am developing an application using C# and I am successfully using the
"///" technique to generate XML documentation from comments. However,
I have a metabase which contains definition information that I would
like to integrate into the "///" technique. Basically, I would like to
create my own event to query my metabase for definition information
from the MS Visual Studio text editor when a certain key sequence has
been entered.

Does anyone know if we can create our own "///" event? Is this a smart
key? My understanding is that smart keys can only be used in VB.Net
and not C#; is this correct?

Thanks in advance!
 
F

Frans Bouma [C# MVP]

Ice said:
Hello,

I am developing an application using C# and I am successfully using
the "///" technique to generate XML documentation from comments.
However, I have a metabase which contains definition information that
I would like to integrate into the "///" technique. Basically, I
would like to create my own event to query my metabase for definition
information from the MS Visual Studio text editor when a certain key
sequence has been entered.

Does anyone know if we can create our own "///" event? Is this a
smart key? My understanding is that smart keys can only be used in
VB.Net and not C#; is this correct?

Thanks in advance!

Normal procedure is to write an add-in which you bind to a key
combination and which then examines the routine it's in and with that
retrieves the info from the metabase. It can be done, Ghostdoc uses
that kind of system (though uses as metabase your own code or the .NET
framework methods metadata if you override something).

Frans


--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top