Closed bbb651 closed 4 days ago
Hello, thanks for opening this issue.
I'll prefix this by saying I have never used Zed. In terms of binary releases, they are already available and built with CI on new releases. Example: https://github.com/crisidev/bacon-ls/releases/tag/v0.3.0
Regarding your specific issue, I am not sure how this works with Zed.. Is there any way to get more info about the error you have in the issue? Is that coming from connecting to bacon-ls?
I meant x86 as in 32-bit x86, I'm aware the releases contain x86_64 and aarch64 binaries, sorry I wasn't clear.
Extension in Zed don't yet have great documentation, they're mostly copied and modified from each other (this one is based from the zig one). This is my first time writing an extension (although I've contributed to some a bit), I'll try to debug it more or ask for help on the Zed discord. In theory everything all lsp related errors things are reported in the log, but a lot of errors are not very helpful (like this one).
Oh, ok, I can change the build system to also build for 32bit x86. Would you like Linux and windows binaries?
Added i686 linux and windows: https://github.com/crisidev/bacon-ls/commit/638a7213744309f5bc5c75ea88269b72b81c1319
I'll try to kick off a new release build
Github action run: https://github.com/crisidev/bacon-ls/actions/runs/11290889318
It did not work, we need i686 libraries
The release is taking ages on Mac builds: https://github.com/crisidev/bacon-ls/actions/runs/11291016153
I think the problem was that I was using very old Macos runner types. I have fixed it now, let's see if this works: https://github.com/crisidev/bacon-ls/actions/runs/11401158335
Finally the release succeeded and we now have i686 builds: https://github.com/crisidev/bacon-ls/releases/tag/v0.3.1
Thank you for creating this language server!
I've made an attempt at creating an extension (currently it only tries to downloads
bacon-ls
if needed and expectsbacon
to be installed), I got to the point that it downloads it correctly, I feel like I'm really close, but I'm getting:and debugging extensions in Zed is not great at the moment, I would love some help if your interested and have the time. Also it would be nice to provide
x86
binaries in releases, I don't personally use them but the Zed extension api has it as an option (It might only relevant for windows?) and it currently errors out in that case. Upstream issue about bacon: https://github.com/zed-industries/zed/issues/15912