-
Notifications
You must be signed in to change notification settings - Fork 23
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
Improve window/showMessageRequest
client capability
#602
Comments
Should be already supported https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md#show-message-request |
{
"capabilities": {
"window": {
"workDoneProgress": true,
"showMessage": {},
"showDocument": {
"support": true
}
}
}
} /**
* Show message request client capabilities
*/
export interface ShowMessageRequestClientCapabilities {
/**
* Capabilities specific to the `MessageActionItem` type.
*/
messageActionItem?: {
/**
* Whether the client supports additional attributes which
* are preserved and sent back to the server in the
* request's response.
*/
additionalPropertiesSupport?: boolean;
};
} The payload confused me as I was expecting |
What about vscode? |
They go "all the way" so there's no ambiguity. {
"capabilities": {
"window": {
"showMessage": {
"messageActionItem": {
"additionalPropertiesSupport": true
}
},
"showDocument": {
"support": true
},
"workDoneProgress": true
}
}
} |
It is managed here Any contribution are welcome. |
@rcjsuen to know what LSP features are supported in LSP4IJ, please read https://github.com/redhat-developer/lsp4ij/blob/main/docs/LSPSupport.md |
window/showMessageRequest
window/showMessageRequest
client capability
Our language server uses
windows/showMessageRequest
to ask the user something. It would be nice if the LSP4IJ client library supported this LSP request. Thanks!The text was updated successfully, but these errors were encountered: