This forum has been archived. All content is frozen. Please use KDE Discuss instead.

4.7->5.0 KDevelop stopped showing documentation on hover

Tags: None
(comma "," separated)
avasilkov
Registered Member
Posts
3
Karma
0
In 4.7 when I hovered over some method, if there was a comment above this method declaration - it was shown in pop window, now it's only declaration and no comments. Is it not possible anymore?
Comments like this were shown in the popup on hover:
// commentary
void foo();
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Use doxygen style comments: either
/// Foo
void func();

or
/** Foo **/
void func();


I'm working on the KDevelop IDE.
User avatar
kfunk
KDE Developer
Posts
53
Karma
0
OS
Right, the Clang backend we use does not consider '//' for source code documentation. Please use the style Sven showed (it makes sense).
avasilkov
Registered Member
Posts
3
Karma
0
Thank you for a quick response! I see, it's a bummer for me, I use an open source library where all comments like this // :)


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]