Have been writing more javascript lately, to the point where it would probably be nice if we started codifying our documentation a bit using similar methodologies we use in-house for other languages. However, we have somewhat different comment headers for each language depending upon what we use to generate the API documentation.
Well, we don't have any tools to auto-generate API documentation for javascript. I have been using VS2010, so vs-doc seems like a natural choice, but unlike, say, C#, MS wasn't kind enough to include any templates for comment headers, and it isn't abundantly clear to me why XML comments are the way to go in the first place. I am not too keen on having to type out a bunch of XML tags every time I want to document something. If VS automatically filled in that stuff for me, I'd be more inclined to stick to it, but as it doesn't I am more inclined to type less if I can find something that will work just as well.
Just to nip it in the bud, so to speak:
The vs-doc javascript intellisense features have never worked for me, even for the stuff like jquery where they supposedly went to a lot of trouble to get it working, and then I spent even more time trying to get intellisense to come up for that stuff. I have read & tried probably every document out there in googland about getting intellisense to work with javascript, to no avail. It works for local variables in the file that I am currently editing, but for anything else I have not even once seen it pop up something useful. So, unless that magically starts working soon it's not likely to sway my opinion.
Well, we don't have any tools to auto-generate API documentation for javascript. I have been using VS2010, so vs-doc seems like a natural choice, but unlike, say, C#, MS wasn't kind enough to include any templates for comment headers, and it isn't abundantly clear to me why XML comments are the way to go in the first place. I am not too keen on having to type out a bunch of XML tags every time I want to document something. If VS automatically filled in that stuff for me, I'd be more inclined to stick to it, but as it doesn't I am more inclined to type less if I can find something that will work just as well.
Just to nip it in the bud, so to speak:
The vs-doc javascript intellisense features have never worked for me, even for the stuff like jquery where they supposedly went to a lot of trouble to get it working, and then I spent even more time trying to get intellisense to come up for that stuff. I have read & tried probably every document out there in googland about getting intellisense to work with javascript, to no avail. It works for local variables in the file that I am currently editing, but for anything else I have not even once seen it pop up something useful. So, unless that magically starts working soon it's not likely to sway my opinion.