window/showMessageRequest notification has no action buttons
JakeBecker opened this issue · 8 comments
Tested using the latest release of atom-languageclient
along with either atom-ide-ui
or nuclide
. The Elixir language server sends a request like this:
And the notification looks like this:
There's no action buttons for the user to click. The same server and request works in in VS Code, suggesting this is a problem with the Atom LSP client.
Are there some steps I can take with the elixir package to test this before I upload my fix? I don't have anything to hand that triggers this message.
Sure, install Elixir on your system and then apm install ide-elixir
. Clone this repo, and you should get a request either on start or any time you save a file: https://github.com/JakeBecker/show_message_request
(Note that if it doesn't include the buttons, the server will hang waiting for a response, so you'll have to restart it to try again)
If you want, you can push your fix to a branch and I'll test it locally.
It's now up in fix-showMessageRequest-buttons
branch
You can go into wherever you checked out atom-languageclient and type npm i
then npm link .
then go into your ide-elixir package and type npm link atom-languageclient
Once you're done testing you can just npm unlink atom-languageclient
from your ide-elixir package. (I should add these steps to the README)
I'll can also test this afternoon.
Cool, that appears to have fixed it. 👍
I'll get this merged in and a new version out today.