Commit ceb0f1ec authored by Miklos Magyari's avatar Miklos Magyari
Browse files

Display class members when hovering even if no doc comment is present


Signed-off-by: Miklos Magyari's avatarMiklos Magyari <miklos.magyari@sigmatechnology.se>
parent 617bf833
......@@ -614,15 +614,17 @@ public final class Def_Type extends Definition {
if (dc != null) {
dc.addDescsContent(hoverContent);
// TODO: maybe change to switch-case based on type.getTypetype()
if (isClass) {
final Class_Type ct = (Class_Type)assType;
final ClassTypeBody body = ct.getClassBody();
if (body != null) {
body.addClassMembers(this, hoverContent, dc);
}
} else {
dc.addMembersContent(hoverContent);
}
if (isClass) {
final Class_Type ct = (Class_Type)assType;
final ClassTypeBody body = ct.getClassBody();
if (body != null) {
body.addClassMembers(this, hoverContent, dc);
}
} else if (dc != null) {
dc.addMembersContent(hoverContent);
}
if (dc != null) {
dc.addStatusContent(hoverContent);
dc.addRemarksContent(hoverContent);
dc.addSinceContent(hoverContent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment