Generate XML documentation comments for Visual Studio Code.
Type "///", it auto-generates an XML doucumentation comment like this:
/// <summary>
///
/// </summary>
/// <param name="s"></param>
/// <param name="y"></param>
/// <param name="z"></param>
/// <returns></returns>
public int bb(string s, ref int y, void * z)
{
return 1;
}
- Install Visual Studio Code 0.10.6 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Select
Install Extension
- Choose the extension '
docomment
' or runext install docomment
- Reload Visual Studio Code
- C#
Clone a copy of the repo:
git clone https://github.com/k--kato/docomment.git
First, install the package dependencies:
npm install
Now you can compile the code:
npm run compile
After the initial compile, the source files will be watched and recompiled when changes are saved.
This extension is licensed under the MIT License.