(Post extensively edited for clarity)
Code completion does not show a suggested functions associated doxygen documentation when typing in a source (.cpp) file, but does show it when working in a header (.hpp) file. How can I make it show documentation when in a source file as well? Example:
// main.cpp
#include "a.hpp"
int main()
{
return space::Sum(1,2); // Code-completion suggests the namespace and function, but does not show their documentation.
}
// a.hpp
#pragma once
/// Brief namespace description.
namespace space{
/// Brief function description.
int Sum(int a, int b){
return a+b;
}
} // End of namespace space.
// b.hpp
#pragma once
#include "a.hpp"
int F(){
return space::Sum(2,3); // Code-completion suggests the namespace and function, and shows their documentation.
}
This does not seem to be affected by changing the settings in 'Settings->Editor->Code completion', specifically ticking/unticking the "Parse documentation" and "Show token's details even if it hasn't documentation" checkboxes under the "Documentation" tab.
This occurs in Code::Blocks svn build rev 9417, SDK Version 1.19.0.