diff --git a/plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java b/plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java index 855c6f1795..26a2e2a63f 100644 --- a/plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java +++ b/plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java @@ -117,7 +117,7 @@ public static String getParentsChain(@Nullable PsiElement element) { } StringBuilder sb = new StringBuilder(); while (true) { - sb.append(element.getClass()).append(": "); + sb.append(element.getClass()).append("(").append(PsiUtilCore.getElementType(element)).append(")").append(": "); if (element instanceof PsiFile || element.getParent() == null) { break; }