Dart LSP error: "Unknown method textDocument/didSave"
Check for existing issues
- [x] Completed
Describe the bug / provide steps to reproduce it
I installed Dart Zed Extension.
Every time I save a file I get "Unknown method textDocument/didSave" error.
Environment
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
This issue occurred in the latest Zed version (0.143.6, 0.143.7).
I found a related issue on dart-lang repo and this
My understanding is that dart-lang server doesn't support textDocumentSync. Zed editor should check whether the server method is supported before sending it.
I'm loving Zed, but it's amazing how annoying this bug is... it's making me think about going back to vscode until there's a resolution. I wish I understood how I could fix it.
I'm loving Zed, but it's amazing how annoying this bug is... it's making me think about going back to vscode until there's a resolution. I wish I understood how I could fix it.
That's exactly what I was thinking
Thank you @avatarnguyen , that information was very useful. I've created https://github.com/zed-industries/zed/pull/14412 and that seems to fix the issues.
Closed via
- https://github.com/zed-industries/zed/pull/14412