-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
LSP Client: id handling requires certain number serialization #12367
Comments
Thank you for quickly doing the more thorough debugging that I did not perform. Not super familiar with the internals of LSPs (I use them but don't work on em) PS: |
|
The link is indeed wrong, thanks for the hint! The LSP spec links to the JSONRPC spec, I guess that confused me a bit. Still That being said, as stated on the Godot issue I understand that this might be quite hard to solve when not using js, and we should fix it on our side in case other non js implementations also do the integer differentiation on json level. Just thought I'd report it here in case there are other rogue language servers out there. |
Yeah this is a bit of a gray area in the LSP spec because of the |
Summary
Original issue at godotengine/godot#100914
tl;dr
.0
"id": 0.0
Reproduction Steps
I tried this:
hx -v ~/godot_project/some_script.gd
I expected this to happen:
Instead, this happened:
Helix log
Log for the error:
The old Godot serialization behavior in comparison:
Platform
Fedora 41
Terminal Emulator
GNOME Terminal 😔
Installation Method
dnf
Helix Version
helix 24.7 (079f544)
The text was updated successfully, but these errors were encountered: