emacs-gdscript-mode
emacs-gdscript-mode copied to clipboard
Lots of "unknown notification" errors
When performing actions such as opening new files, and closing buffers I get errors like this:
I have the workaround in my emacs config, but it doesn't seem to do anything:
Any ideas on what I can do? Let me know if I need to send more logs/details.
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)))
Ah I see, I'll try out that workaround then. Thanks :+1:
Is this error still relevant today, about 18 months later?
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)
Sorry, I haven't used Emacs in about 2 years so I can't test this anymore sadly.