sublimelsp / LSP

Client implementation of the Language Server Protocol for Sublime Text
https://lsp.sublimetext.io/
MIT License
1.64k stars 182 forks source link

Support window/showMessage(Request) #58

Closed tomv564 closed 6 years ago

tomv564 commented 7 years ago

As seen in the ocaml language server (#57), there is great value in language servers telling the user how to fix configuration etc. The language server protocol exposes a notification and a request from the server:

showMessage: show in status bar + allow user to specify getting a message box showMessageRequest (with actions to respond with?): quick panel?

ayoub-benali commented 5 years ago

@tomv564 I am working on a fix to have the actions in a quick panel. Needed for this LSP server for example: https://scalameta.org/metals/docs/editors/new-editor.html#import-build

Can I issue an WIP PR ?