Skip to content
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

eglot keeps sending didSave notifications despite the active server not supporting textDocumentSync #1140

Closed
6b6279 opened this issue Dec 30, 2022 · 2 comments

Comments

@6b6279
Copy link

6b6279 commented Dec 30, 2022

Steps to reproduce issue:

  1. Create example Dart project using Flutter: flutter create hello_world
  2. Open hello_world/lib/main.dart in Emacs
  3. Start eglot with M-x eglot RET
  4. Make a rudimentary change in the file; ex. add a line break
  5. Save with C-x C-s
    Following text appears in the minibuffer area: [eglot] Server reports (type=1): Unknown method textDocument/didSave

See dart-lang/sdk#36464 and microsoft/language-server-protocol#288

Thanks in advance.

@6b6279 6b6279 changed the title eglot keeps sending didSave notifications despite the active server not supporting it (Dart/analysis_server) eglot keeps sending didSave notifications despite the active server not supporting textDocumentSync Dec 30, 2022
@6b6279
Copy link
Author

6b6279 commented Feb 13, 2023

Filed a bug report on the official GNU bug tracker: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61478

@6b6279 6b6279 closed this as completed Feb 13, 2023
@joaotavora
Copy link
Owner

👍 make sure to cc me in a message to that bug, so i can join the discussion (and potentially do the patch)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants