-
Notifications
You must be signed in to change notification settings - Fork 200
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
LSP "window/logMessage" messages go nowhere #322
Comments
The problems is if I enable then some users are really annoyed because some servers abuse such messages. Maybe I could use |
From my perspective while debugging client/server to get things working, having these is valuable, and not knowing they were there did cost me some time. But having messages show up all the time would be annoying of course. So I would suggest showing them by default, but having a per-server opt-out for abusive servers. |
OK, I'll take a PR that mixes my |
perhaps a new buffer to display these would be reasonable? IIUC, VSCode among others do something similar. servers definitely abuse this. it would still possibly be useful to have some server messages promoted based on type, see: https://microsoft.github.io/language-server-protocol/specifications/specification-3-15/#messageType |
But why isn't the events buffer a reasonable place to consult. Just because the format isn't pretty there? Because there is lots of other junk? |
I do currently, but it gets a bit difficult to parse out information from it when it is heavily populated. however, due to the nature of the issue, I'd not consider adding a dedicated buffer a high-priority task hm, perhaps 'prettifying' the events buffer would be more effective even |
Yes, or simply using |
I'm trying to configure the latest
vue-language-server
and it's not working yet (errors in my side with config, I'm sure). It just fails silently though, until I look in the events buffer and see the actual errors:Perhaps it would be a good idea for eglot to notify the user of these messages somehow? Right now they're ignored:
The text was updated successfully, but these errors were encountered: