You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the same workspace, if a function is defined in a C file of a library project with a Doxygen comment in front of it and if the prototype is defined in the corresponding header file : in the main project, the Doxygen comment is not displayed.
ie :
if I define print_hello() in .c and .h : print_hello() is displayed in the in main project's auto-completion box but with no comment. But if I define print_hello() in .c and print_hello(void) in .h, both functions appear in the main project's auto-completion box and the doxygen comment is displayed for print_hello() from .c.
The text was updated successfully, but these errors were encountered:
Maybe my explanation isn't good. If I use the same syntax in header and code (which is normal), the parser sees the same function, but no comment is displayed. Maybe it looks only at header and displays nothing because the comment is in code file?. The parser would ideally look in header and in code if there is a comment before the function or is prototype. The example with void was an example where the parser is working since the function declaration in code isn't "overriden" with the one in header file.
In the same workspace, if a function is defined in a C file of a library project with a Doxygen comment in front of it and if the prototype is defined in the corresponding header file : in the main project, the Doxygen comment is not displayed.
ie :
if I define print_hello() in .c and .h : print_hello() is displayed in the in main project's auto-completion box but with no comment. But if I define print_hello() in .c and print_hello(void) in .h, both functions appear in the main project's auto-completion box and the doxygen comment is displayed for print_hello() from .c.
The text was updated successfully, but these errors were encountered: