From e83465bc1241f8543cb09b24ba11825cf8bdd945 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Sun, 11 Aug 2019 17:52:31 +0300 Subject: [PATCH] Added element type to the debugging output #2104 #2013 (cherry picked from commit 8df9a2fd0f2abfdf20b259b28dd958fc92ca8ad5) --- plugin/core/src/com/perl5/lang/perl/util/PerlUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }