Skip to content

Commit 2d8e72a

Browse files
committed
use display name in lsif hover if no signature is set
1 parent fd09a0c commit 2d8e72a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lsif-semanticdb/src/main/java/com/sourcegraph/lsif_semanticdb/LsifSemanticdb.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ private Integer processDocumentUnsafe(
157157
.append('\n')
158158
.append(signature)
159159
.append("\n```");
160+
} else {
161+
markupContent.append(symbolInformation.getDisplayName());
160162
}
161163

162164
if (markupContent.length() != 0) {

0 commit comments

Comments
 (0)