Skip to content

Commit 9795920

Browse files
committed
Fixed lens request
1 parent 96d03d8 commit 9795920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ide-common/src/main/java/org/digma/intellij/plugin/document/CodeLensProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ private synchronized Set<CodeLens> buildCodeLens(@NotNull DocumentInfoContainer
169169
List<MethodWithCodeObjects> methods = new ArrayList<>();
170170

171171
for (MethodInfo methodInfo : methodsInfo) {
172-
List<String> relatedSpansCodeObjectIds = methodInfo.getSpans().stream().map(SpanInfo::getId).toList();
172+
List<String> relatedSpansCodeObjectIds = methodInfo.getSpans().stream().map(SpanInfo::idWithType).toList();
173173
List<String> relatedEndpointCodeObjectIds = methodInfo.getEndpoints().stream().map(EndpointInfo::getId).toList();
174174

175175
for (String id : methodInfo.allIdsWithType()) {

0 commit comments

Comments
 (0)