Completion item color is not extracted from documentation
property when it is a MarkdownString
#174496
Labels
Milestone
documentation
property when it is a MarkdownString
#174496
Does this issue occur when all extensions are disabled?: Yes
1.76.0-insider
macOS 12.5.1
Steps to Reproduce:
Trigger Suggest
command or start typing "example" to reveal the "example" completion itemsExpected Behaviour:
Both completion items should display a red block.
Suggested Fix:
When the color extractor checks the
documentation
property it should account forMarkdownString
values:vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.ts
Lines 48 to 54 in eb940a2
For example the piece of code above could be changed to the following:
The text was updated successfully, but these errors were encountered: