Skip to content

Commit 2a3607e

Browse files
authored
Merge pull request #2506 from digma-ai/fixed-lens-request
Fixed lens request
2 parents 0c8cf35 + 9795920 commit 2a3607e

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)