From 617401c6742f8c0f7ebe6e3d9839993441761987 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 28 Oct 2015 15:29:41 +0100 Subject: don't render annotations on types in summary view --- src/Kotlin/KotlinLanguageService.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Kotlin/KotlinLanguageService.kt b/src/Kotlin/KotlinLanguageService.kt index 77cad657..3c4b974f 100644 --- a/src/Kotlin/KotlinLanguageService.kt +++ b/src/Kotlin/KotlinLanguageService.kt @@ -167,7 +167,9 @@ class KotlinLanguageService : LanguageService { renderType(typeArguments.last(), renderMode) return } - renderAnnotationsForNode(node) + if (renderMode == RenderMode.FULL) { + renderAnnotationsForNode(node) + } renderModifiersForNode(node, renderMode, true) renderLinked(node) { identifier(it.name, IdentifierKind.TypeName) } if (typeArguments.any()) { -- cgit