-
Notifications
You must be signed in to change notification settings - Fork 63
Brief description not generated for methods defined outside class #337
Copy link
Copy link
Open
Labels
Description
Describe the bug
I think the generation based on the smart snippet is not working when trying to add docstrings to class setters/getters defined outside of the class itself.
Or at least, I seem not to be able to make it work. If I delete the class specifier, it does use the smart text snippet.
Code example
void Cargo::setRunning() {
std::lock_guard lock(this->running_mutex_);
this->running_ = true;
}Expected result
/**
* @brief Set the Running object
*
*/
void Cargo::setRunning() {
std::lock_guard lock(this->running_mutex_);
this->running_ = true;
}Actual result
/**
* @brief
*
*/
void Cargo::setRunning() {
std::lock_guard lock(this->running_mutex_);
this->running_ = true;
}Your System:
- OS: Ubuntu 22.04
- VS Code Version: 1.95.2
- Doxdocgen Code Version: v1.4.0
Additional context
I haven't changed anything of the default configuration, apart from author info.
Reactions are currently unavailable
