-
how to implement line breaks("\n) by using SignatureInformation releated API |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Oct 28, 2024
Replies: 4 comments 4 replies
-
i extends AbstractSignatureHelpProvider,and override getSignatureFromElement method |
Beta Was this translation helpful? Give feedback.
1 reply
-
thanks a lot ,it works! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @zrwsmd,
thanks for the snippet, that helps a lot in figuring out the problem. The label cannot contain newlines. Instead, you should use the
documentation
property of theSignatureInformation
type to display formatted data. You should create aMarkupContent
object for it to be rendered as markdown.