Visual Documentation in Visual Studio?

Status
Not open for further replies.

svdsinner

Ars Legatus Legionis
15,152
Subscriptor
Whenever I build a Geometry based app, I end up with dozens of variables that have geometric meanings. I do my best to make meaningful variable names, but after a few weeks into the development cycle, I'm wasting tons of time trying to interpret the geometric meaning of variables I am analyzing in my head from typed documentation in the code.

It seems like a great fit to have some form of "whiteboard" in Visual Studio that I could make visual documentation of the geometry and the variables. (A picture is worth a thousand words, after all.)

I assumed that I wouldn't be unique in this, and Googled for "Visual Studio Whiteboard", and got nothing.

Are there any programmer-centric whiteboard programs out there that would work well with Visual Studio?
 

svdsinner

Ars Legatus Legionis
15,152
Subscriptor
BlackHex":2rjgtjj6 said:
Have you looked at this extension?

http://visualstudiogallery.msdn.microso ... e7c721df12
That looks close to ideal. I'm going to try it.

levine":2rjgtjj6 said:
I would use ASCII art, or if for some reason that's not sophisticated enough, store an OmniGraffle file with the relevant explanation in the project repository.

You can switch programs/environments to look at visual documentation -- it's allowed.
Yes, but it means you loose out on the productivity of having all your pertinent documentation available in just a few keystrokes/mouse-clicks on any particular object. Plus it increases the chance that you will let your documentation get stale since the images would be out-of-sight/out-of-mind when you refactored later.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
That looks close to ideal. I'm going to try it.

Be warned, it appears to been written as an example "here's how you can extend the new editor" and as such is very much 'toy like' in that it doesn't play well with code folding, editing the code after the event or images which are too big.

Try it out on a VS 2012 install before you go depending on it...
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
Yes, but it means you loose out on the productivity of having all your pertinent documentation available in just a few keystrokes/mouse-clicks on any particular object.

Note that simply placing a hyperlink in the source you are one click away (in the editor of that users choice).

If you have a source control system that accepts http or https direct file links like svn you can keep it in version control. this is a little messy as you would likely need to point to the dev branch in code, but getting from that to the tagged/branched one if you really need to isn't that hard.
 

BlackHex

Ars Tribunus Angusticlavius
9,639
Subscriptor++
I'm with svdsinner on this one... I would give a lot for a proper inline documentation system. Preferably allowing images, text formatting, etc. Code documentation that isn't in the code is of very little value.

I couldn't get away with the image extension because my team won't use it... but a properly integrated documentation system would be nice...

I've seen several half projects but no one has done it properly yet :(
 
Status
Not open for further replies.