mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show type action: return presentable text, so capture is visible, etc.
This commit is contained in:
@@ -30,7 +30,7 @@ public class JavaTypeProvider extends ExpressionTypeProvider<PsiExpression> {
|
||||
@Override
|
||||
public String getInformationHint(@NotNull PsiExpression element) {
|
||||
PsiType type = element.getType();
|
||||
String text = type == null ? "<unknown>" : type.getCanonicalText();
|
||||
String text = type == null ? "<unknown>" : type.getPresentableText();
|
||||
return StringUtil.escapeXml(text);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user