-
how to implement line breaks("\n) by using SignatureInformation releated API |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
i extends AbstractSignatureHelpProvider,and override getSignatureFromElement method |
Beta Was this translation helpful? Give feedback.
-
thanks a lot ,it works! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
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.