Extension for auto-generating Doxygen style comments for different code elements and other code generation.
Visual Studio extension for auto-generating Doxygen-style comments in C ++ code.
This is the VS2022 version. For VS2019 please visit this page.
Use a keyboard shortcut Alt + T to create a comment.
All lines can be enabled / disabled or configured at your discretion.
Tag indentation can be configured for each code element.
Sometimes the same function parameters or method names appear in many places in your code, and you want their documentation to look the same. You can specify the names of such objects and a comment to them in the dictionary, and this comment will be inserted automatically
The following styles are supported (Javadoc and Qt styles are a little bit shifted in marketplace viewer, see github for correct view):
/// @brief Foo
* @brief Foo
* @brief Foo
You can make a comment block with a specific type more visible by filling the first and last lines of the comment:
Auto-generation of comments for trivial functions:
"ClassName object constructor" for constructors
"ClassName object destructor" for destructors
@brief and @retval for getters based on function name:
@brief Get answer to the ultimate question of life the universe and everything
@retval - answer to the ultimate question of life the universe and everything
@brief and @param for setters based on function name: