You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently jsonCompletion.ts returns CompletionItems with their documentation property set to the value of description or markdownDescription from the JSON schema, which VSCode then displays as a popup next to the list of completions:
VSCode also let's completions control a short description shown right in the completions list, e.g. in JS:
This text is fetched from the CompletionItem's detail property (from the LSP spec).
JSON schema supports both a description and a title field (JSON schema spec) for such UI purposes.
Can you pass titles from the schema to details in completion items?
The text was updated successfully, but these errors were encountered:
Currently
jsonCompletion.ts
returnsCompletionItem
s with theirdocumentation
property set to the value ofdescription
ormarkdownDescription
from the JSON schema, which VSCode then displays as a popup next to the list of completions:VSCode also let's completions control a short description shown right in the completions list, e.g. in JS:
This text is fetched from the
CompletionItem
'sdetail
property (from the LSP spec).JSON schema supports both a
description
and atitle
field (JSON schema spec) for such UI purposes.Can you pass
title
s from the schema todetail
s in completion items?The text was updated successfully, but these errors were encountered: