emacs-gdscript-mode icon indicating copy to clipboard operation
emacs-gdscript-mode copied to clipboard

Lots of "unknown notification" errors

Open LennyPhoenix opened this issue 3 years ago • 6 comments

When performing actions such as opening new files, and closing buffers I get errors like this: image

I have the workaround in my emacs config, but it doesn't seem to do anything: image

Any ideas on what I can do? Let me know if I need to send more logs/details.

LennyPhoenix avatar May 28 '21 21:05 LennyPhoenix

It's a known issue, seems it could an unsupported command on lsp's side. Not sure exactly. It's not something we can fix directly in gdscript-mode. See https://github.com/emacs-lsp/lsp-mode/issues/2127

The workaround works for me. An alternative is to suppress warnings for lsp-mode (it'll suppress all warnings) (setq warning-suppress-types '((lsp-mode)))

NathanLovato avatar May 29 '21 01:05 NathanLovato

Ah I see, I'll try out that workaround then. Thanks :+1:

LennyPhoenix avatar May 29 '21 10:05 LennyPhoenix

Is this error still relevant today, about 18 months later?

NathanLovato avatar Apr 21 '23 06:04 NathanLovato

Hello ,@LennyPhoenix emacs already has eglot built in. We have now added the relevant configuration of eglot, I tried to test 'godot 3.5' and it works. If the problem persists with lsp-mode, please try using eglot. Add the following configuration:

(setq gdscript-godot-executable "/home/xiliuya/soft/Godot_v3.5-stable_x11.64"
      gdscript-eglot-version 3)

xiliuya avatar Apr 21 '23 11:04 xiliuya

Sorry, I haven't used Emacs in about 2 years so I can't test this anymore sadly.

LennyPhoenix avatar Apr 21 '23 11:04 LennyPhoenix