-
Notifications
You must be signed in to change notification settings - Fork 343
Two-part Hover info using MarkupContent
#1456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can construct one string value that looks like this:
|
See also vscode-languageserver-node/types/src/main.ts Line 2039 in e1345cc
|
thanks, i tried that but it didnt work the first time probably because of the missing endlines, i guess a skill issue on my part |
michal-kapala
added a commit
to michal-kapala/vscode-jitterbit
that referenced
this issue
Apr 2, 2024
+ deprecated MarkupString subbed with MarkupContent (see microsoft/vscode-languageserver-node#1456) + version bumps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
I'm aiming for a typical hover UI with colorized code element signature/type information and plain markdown docs at the bottom.
I managed to implement a demo using
Hover.contents: MarkedString[]
:As
MarkedString
is deprecated, how can I achieve similar behaviour usingMarkupContent
?Is it even possible given
MarkupKind
currently only supports markdown and plaintext? I think #843 tried to answer that.The text was updated successfully, but these errors were encountered: