Rapptz / DoxyDoc

A sublime text plugin for C++ document autocompletion
MIT License
27 stars 13 forks source link

Generated comments incorrectly contain a @return clause for constructors and destructors #1

Closed ereOn closed 10 years ago

ereOn commented 10 years ago

Typing the usual /** generates Doxygen comments that always contain @return clause, even for constructors and destructors.

Here is an example of such comments:

class foo
{
    /**
     * @brief [brief description]
     * @details [long description]
     * 
     * @return [description]
     */
    foo();

    /**
     * @brief [brief description]
     * @details [long description]
     * 
     * @return [description]
     */
    ~foo();
};

Keep up the good work ! This plugin is awesome and really appreciated :)

Rapptz commented 10 years ago

Fixed this as far as I can tell. Tested it when templated, with arguments, etc.