Skip to content

Commit 55d15a9

Browse files
committed
dlv debugger: improve navigate to type source (shift + f4) for structures
1 parent ed1376b commit 55d15a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/goide/dlv/DlvXValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public void computeTypeSourcePosition(@NotNull XNavigatable navigatable) {
235235
Project project = getProject();
236236
if (project == null) return;
237237
String dlvType = myVariable.type;
238-
String fqn = isPtr ? dlvType.replaceFirst("\\*struct ", "") : dlvType;
238+
String fqn = isPtr ? dlvType.replaceFirst("\\*struct ", "") : dlvType.replaceFirst("struct ", "");
239239
List<String> split = StringUtil.split(fqn, ".");
240240
boolean noFqn = split.size() == 1;
241241
if (split.size() == 2 || noFqn) {

0 commit comments

Comments
 (0)