Discussion:
Visual Studio Settings
(too old to reply)
cameron
2004-11-10 23:21:07 UTC
Permalink
I am wondering if you can enable the XML comments in Visual Studio for
other file types. I have written a documentation engine thingy that can
go through ASP, XSLT, and Javascript files looking for the stadard tags,
(///<summary></summary> etc), but it is a pain to remember all of the
different tags and to manually complete the tag... etc. So I would like
to get Studio to give me the commenting options on all file types, (or
an extended list of file types).

Has anyone seen an option that would allow that?

Thanks
Lau Lei Cheong
2004-11-11 01:39:48 UTC
Permalink
I think you can go to "Tools"->"Marco"->"Marco Explorer"(I use chinese
edition, so these names may not be exact.)
Edit "Samples.Utilities.LineOrientedCommentStart" &
"Samples.Utilities.InsertDocComments" and add your file type's comment there
will do.

Though I haven't test whether you'll have to put the macro to the toolbar
for the first one to work. It'll be best if you can post the result here.
Post by cameron
I am wondering if you can enable the XML comments in Visual Studio for
other file types. I have written a documentation engine thingy that can
go through ASP, XSLT, and Javascript files looking for the stadard tags,
(///<summary></summary> etc), but it is a pain to remember all of the
different tags and to manually complete the tag... etc. So I would like
to get Studio to give me the commenting options on all file types, (or
an extended list of file types).
Has anyone seen an option that would allow that?
Thanks
cameron
2004-11-15 20:07:30 UTC
Permalink
Thanks for the reply, I have tried that but it is blowing errors on the
line:

Dim celt As CodeElement = filecm.CodeElements.Item(1)

which is then used for determining the parameters for the given
function/method/etc. I am sooooo not a VB guy so it will take me a while
to actually dig into this and see what I can do about it for the file
types I am looking to support. This object seems to be MS native so I
will probably have to do a crazy wrapper arround it.

Thanks again.

-Cam
Post by Lau Lei Cheong
I think you can go to "Tools"->"Marco"->"Marco Explorer"(I use chinese
edition, so these names may not be exact.)
Edit "Samples.Utilities.LineOrientedCommentStart" &
"Samples.Utilities.InsertDocComments" and add your file type's comment there
will do.
Though I haven't test whether you'll have to put the macro to the toolbar
for the first one to work. It'll be best if you can post the result here.
Post by cameron
I am wondering if you can enable the XML comments in Visual Studio for
other file types. I have written a documentation engine thingy that can
go through ASP, XSLT, and Javascript files looking for the stadard tags,
(///<summary></summary> etc), but it is a pain to remember all of the
different tags and to manually complete the tag... etc. So I would like
to get Studio to give me the commenting options on all file types, (or
an extended list of file types).
Has anyone seen an option that would allow that?
Thanks
Continue reading on narkive:
Loading...