Visual Studio 2010 Javascript comments stopped working
-
14-11-2019 - |
Question
When I type /// visual studio no longer adds xml comments in to my javascript document. I've installed a number of extensions recently and wondered if these may have caused it, one of which recently expired (re-sharper). I've tried disabling and running visual studio in safe mode (Devenv.exe /SafeMode) and reset my settings (devenv.exe /ResetSettings). I know it was working previously as I have comments in documents
Solution
This is functionality that ReSharper provides, but you can add snippets in Visual Studio using Ctrl+K, Ctrl+X
and use the Snippet Editor to populate the summary
, param
and returns
elements.
This article also details How to Create JScript XML Code Comments.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow