After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 792292 - Support go-langserver
Support go-langserver
Status: RESOLVED OBSOLETE
Product: gnome-builder
Classification: Other
Component: plugins
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-01-07 01:25 UTC by Henry Finucane
Modified: 2018-01-11 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first draft implementation (7.46 KB, patch)
2018-01-07 01:43 UTC, Henry Finucane
none Details | Review

Description Henry Finucane 2018-01-07 01:25:39 UTC
Sourcegraph has an implementation of the Language Server Protocol here https://github.com/sourcegraph/go-langserver, it would be nice if Builder could use it.
Comment 1 Christian Hergert 2018-01-07 01:33:30 UTC
I believe someone has started on one, but since I'm not familiar with Go, I'm going to have to rely on the community to put this together.

https://twitter.com/hergertme/status/949483909267439616
Comment 2 Henry Finucane 2018-01-07 01:43:36 UTC
Created attachment 366443 [details] [review]
first draft implementation

I tested this in ~/.local/share/gnome-builder/plugins, using Builder from flatpak, and then imported it into the tree and added 'Builtin=True'. It's the rust-langserv plugin with some search and replace.

Speaking of flatpak, I'm running the plugin inside of a bash login shell to try and make sure that I get the host environment, but that seems sort of gross and wrong. I tried settings things in .buildconfig and then pulling them out of the build manager context, but got sort of lost- and seems like not the most user friendly default?
Comment 3 GNOME Infrastructure Team 2018-01-11 10:53:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/343.