S
Steve Howard
In VS 2005, is there any way to turn on the auto-insertion of XML
documentation like you can in VS 2003?
TIA
Steve
documentation like you can in VS 2003?
TIA
Steve
To generate the xml comments file go to "XML documentation file:" under
"Output" under the "Build" tab under Project Properties.
If you mean inserting comments in your code, go directly above the member
and enter three backslashes (///) and hit enter (in VB ''').
Without telling us which "VS 2003 book" and which "steps" it describes, I
cannot help further...
changed.
Through the project properties you can see the warning level high (and
even treat warnings as errors) and then using the task manager find all
occurrences of undocumented members.
In fact, if there was a fully automated way, you would get no
warnings/errors while having empty documentation placeholders (not a trait
of a "great programmer").
You can turn it off for that class (since it is in your project).I can already switch this on. It gives me 150 errors, all caused by one
So we are back to turning warnings on so you can locate them easy (andwhereas no placeholder is less easy (more effort, we're going for lazy
here
When/If you find it feel free to let us know...insertion. I can't really justify using up more of today looking for it,
No it doesn't. What I want is for the automatic insertion of basic
documentation, without any action by me. The project I am working on
requires anal amounts of documentation (it's for University) so I want to be
sure I have included documentation for everything. Automating this would
help reduce the amount of manual searching I have to do to make sure I
document everything.
Honesty, I would advise against it. Rather than auto-generate "alibi
documentation", I'd suggest getting into the habit of documenting your
code while writing it, not afterwards. That's when the triple-slash
device Daniel mentioned comes in really handy.