Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #22 from spahnke/suggestion-markdown
Browse files Browse the repository at this point in the history
Render documentation in suggestion widget as Markdown
  • Loading branch information
mjbvz authored Oct 1, 2018
2 parents f5602dc + 744e2f2 commit 8d98c75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/languageFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
};
}));
}
Expand Down

1 comment on commit 8d98c75

@rebornix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.