-
Notifications
You must be signed in to change notification settings - Fork 453
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
Autocompletion should return javadoc in Markdown #318
Comments
@aeschli https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md#completion-request doesn't specify the documentation format, shouldn't that be an attribute of TextDocumentClientCapabilities.completion.completionItem (next to snippetSupport)? Else we're gonna need to add a new server preference to let clients tell the server whether it should return plain text or markdown. |
That's a new API in VSCode that we still need to adopt in the language server protocol. For now, documentation format is still text. |
I like my javadoc to look good. @gorkem wdyt about starting the server with a |
@aeschli so if the server returns markdown in the documentation field, it's still rendered as plain text (using insiders 1.18). How is this supposed to work?
|
@fbricon We first will have to add new API to the LSP. Either a new property |
Migrating to LSP4J 0.4.0's new API should allow us to support this feature. |
Depends on eclipse-jdtls/eclipse.jdt.ls#654 |
See https://code.visualstudio.com/updates/v1_17#_javascript-and-typescript-intellisense-now-supports-markdown
We basically need to revert #215. On the server side, the type of documentation should depend on whether the client supports it. Need to check the protocol.
The text was updated successfully, but these errors were encountered: