From 744e2f25aff948206f2ef2077f32b0b5cb9b68c7 Mon Sep 17 00:00:00 2001 From: Sebastian Pahnke Date: Mon, 24 Sep 2018 17:51:35 +0200 Subject: [PATCH] Render documentation in suggestion widget as Markdown --- src/languageFeatures.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/languageFeatures.ts b/src/languageFeatures.ts index cb9ba7f..e292aef 100644 --- a/src/languageFeatures.ts +++ b/src/languageFeatures.ts @@ -255,7 +255,9 @@ export class SuggestAdapter extends Adapter implements monaco.languages.Completi label: details.name, kind: SuggestAdapter.convertKind(details.kind), detail: displayPartsToString(details.displayParts), - documentation: displayPartsToString(details.documentation) + documentation: { + value: displayPartsToString(details.documentation) + } }; })); }