Go gopls LSP

Hi

since there is now Go 1.18 support I tried to do something with it and I could get the gopls LSP to compile.
It needs one patch as the stat.Ino struct of haiku is an int64 instead of an uint64, which needs a little patch in the gopls code.

I created a fork of it that compiles:

go install github.com/aligator/haiku-golang-tools/gopls@v0.14.5

Maybe someone has a use for it :slight_smile:

It runs, however I don’t know if there is a usable IDE with gopls support built in already that I could test it with. So I didn’t really try it yet… Any ideas?
Maybe it would also be interesting to add (at least some) Go support to Genio, but I haven’t looked into it more, yet.

4 Likes