You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALE when dealing with language servers appears to be sending the textDocument/didSave notification.
The Dart Analysis Server complains about that in the command line area after every write operation in Vim:
Basically the Dart Analysis Server doesn't support that notification, hence it should not be sent. I think the server on initial handshake indicates what it does support and the client needs to take that into account.
That is clarified by Microsoft here in the LSP spec:
If present will save notifications are sent to the server. If omitted the notification should not be sent
Anyway, this warning is highly distracting and it should not be triggered.
This issue has been noted by other projects and been dealt with:
Spawning from the #3069 PR.
ALE when dealing with language servers appears to be sending the
textDocument/didSave
notification.The Dart Analysis Server complains about that in the command line area after every write operation in Vim:
Basically the Dart Analysis Server doesn't support that notification, hence it should not be sent. I think the server on initial handshake indicates what it does support and the client needs to take that into account.
That is clarified by Microsoft here in the LSP spec:
Anyway, this warning is highly distracting and it should not be triggered.
This issue has been noted by other projects and been dealt with:
Sublime: Don't send textDocument/didSave unless server advertises support for it
LSC: Don't send textDocument/didSave unless server advertises support for it
LSP: Unknown method textDocument/didSave
I would be nice if ALE can likewise fix this issue.
Thanks.
The text was updated successfully, but these errors were encountered: