Skip to content

What is the role of SupportedFeatures.java? #271

Closed Answered by angelozerr
turkeylurkey asked this question in Q&A
Discussion options

You must be logged in to vote

At first this class name comes from LSP4E. I think we should rename to ClientSupportedFeatures or à better name.

This class contains all capabilities that LSP4IJ can support and those capabilities are send to language servers which must be started on initialize step.

The language server can use those capability to adapt the behavior of features.

For instance MP ls returns completion with documentation for ech items if the lsp client cannot support resolve completion.

With LSP4IJ the MP ls will return completion without documentation since it can support resolve completion.

When lsp4ij need to show documentation for the delected item it will consume the completion redolve of mp ls because …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@angelozerr
Comment options

Answer selected by turkeylurkey
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@angelozerr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants