Posted By: PeterH | Oct 21st, 2005 @ 7:39 AM
page 1 of 1
Comments: 9 | Views: 6284
PeterH
PeterH
Iomesus
Is there and easy way in which to insert boxed comments in Visual Studio without messing about with astericks formations and forward slashes?

If not is there a tool to do it easily?

Failing this how would I go about building an addon for Visual Studio?

It may seem like a minor annoyance to have to do this, but I like to comment my code pretty thoroughly, and wasting time on this is starting to drive me up the wall.

Thanks,

PeterH
Sven Groot
Sven Groot
My name has 9 letters. Coincidence? I think not...
How is this different from XML comments?

Whatever you mean exactly, I'm sure you could create a snippet for it in VS2005. Smiley
Tensor
Tensor
Im in yr house upgrading yr family
Forget that - you want XML Comments:

For C# in 2003 & 2005 its ///

For VB.NET in 2005 its '''

For VB.NET in 2003 install VBCommenter

Combine with nDoc for maximum goodness.
I thought the widely held opinion on these was not to fully box them, i.e.

/**********************************
                          Like this
**********************************/

At which point you don't need any fancy tools to do it.
Tensor
Tensor
Im in yr house upgrading yr family
PeterH wrote:
Tensor wrote: Forget that - you want XML Comments:

For C# in 2003 & 2005 its ///

For VB.NET in 2005 its '''

For VB.NET in 2003 install VBCommenter

Combine with nDoc for maximum goodness.


I'm using C++ in 2005


I believe C++ in 2005 has XML comments too. Slap a /// in there before a function, see what happens.
Minh
Minh
WOOH! WOOH!
It's 2000-freakin-5 already. Why don't we have comments like this:



Minh wrote:
It's 2000-freakin-5 already. Why don't we have comments like this:


Now if they were transparent and "floating" above the code you might have something. A few 3D transistions wouldn't go amiss either...
Dr Herbie
Dr Herbie
Horses for courses
Minh wrote:
It's 2000-freakin-5 already. Why don't we have comments like this:





You know, I'm sure that two or three years ago I saw screen shots of a system for a C++ editor that showed comments as fully WYSIWYG, formattable text like a word processor. 
I've googled for it, but can't find any trace Sad
So it's not a new idea, but it just never seemed to catch on.

Maybe we need to specify a standard for inserting formatting details into ASCII comments (so the compilers will ignore them). Then the editor writers can implement the standard?

Herbie
page 1 of 1
Comments: 9 | Views: 6284
Microsoft Communities