The code layout for javascript within visual studio is very similar to C#. It would nice to be able to right click on a javascrpt function an say document this or atleast it just create a basic comment block.
Just an idea I had yesterday.
Thank you for the suggestion. We will think about it.
One question though - how would XML Comments be of use for JavaScript?
Serge B.:One question though - how would XML Comments be of use for JavaScript?
It's used in intellisense - http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx
We will add this to our list although I see two fairly major issues with the implementation and the value of the feature. GhostDoc as is now relies on VS CodeDOM to get the method information, to my knowledge JavaScript code cannot not be reached through the CodeDOM. Also GhostDoc a major factor in generating (or "guessing" rather) of the comment text is following MS .NET style naming conventions, most JavaScript frameworks/code follow very different naming convention (or none at all) which negates the value of the comments to be generated...
What do you think?