feat(csharp) Add doxygen template
This commit is contained in:
@@ -199,6 +199,7 @@ There is a list of supported languages and fields, with their annotation style
|
||||
| | [Alternative](https://stackoverflow.com/questions/30009650/how-do-you-document-function-arguments) (`"alternative"`) | |
|
||||
| csharp | | | `func`, `file`, `class`|
|
||||
| | [Xmldoc](https://docs.microsoft.com/fr-fr/dotnet/csharp/language-reference/xmldoc/) (`"xmldoc"`) | `<summary>`, `<param>`,`<returns>`|
|
||||
| | [Doxygen](https://www.doxygen.nl/manual/commands.html) (`"doxygen"`) | `@param`, `@return`, `@brief`|
|
||||
|
||||
|
||||
## Adding Languages
|
||||
|
||||
@@ -120,5 +120,18 @@ return {
|
||||
{ "return_statement", "/// <returns>$1</returns>", { type = { "func", "type" } } },
|
||||
{ nil, "/// </summary>", {} },
|
||||
},
|
||||
|
||||
doxygen = {
|
||||
{ nil, "/**", { no_results = true, type = { "func", "class" } } },
|
||||
{ nil, " * @brief $1", { no_results = true, type = { "func", "class" } } },
|
||||
{ nil, " */", { no_results = true, type = { "func", "class" } } },
|
||||
|
||||
{ nil, "/**" },
|
||||
{ nil, " * @brief $1" },
|
||||
{ nil, " *" },
|
||||
{ "identifier", " * @param %s $1" },
|
||||
{ "return_statement", " * @return $1" },
|
||||
{ nil, " */" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user