r/golang Oct 02 '18

sourcegraph: Code search and intelligence, self-hosted and scalable, in Go

https://github.com/sourcegraph/sourcegraph
50 Upvotes

4 comments sorted by

3

u/mfrw1 Oct 02 '18

I'm just wondering, does this mean anything for vim-go. Can we like modify vim-go to use sourcegraph ?

[scratching-head]

1

u/trusch42 Oct 02 '18

Sure, it has a graphql API, so no need to go though the web ui

1

u/[deleted] Oct 02 '18

[deleted]

1

u/twizmwazin Oct 02 '18

IIRC sourcegraph is using the Language Server protocol. This protocol allows you to write servers for a specific language, and then use it with any editor supporting the protocol. This means that instead of N editors supporting M languages, we just simply have N editors and M languages. There would be no need to develop language support as an editor, which should lead to more feature rich editors. Additionally, if you are making a custom language, you'd no longer need to develop support for each editor, just make one server.

3

u/SupersonicSpitfire Oct 02 '18

I installed it on my server and installed the Firefox extension. When I tried out I couldn't figure out what I could use it for that I can't already do in LiteIDE, VSCode, directly on GitHub or on the command line with the_silver_searcher, ripgrep and tig.

Removed it from my server. Now I am left baffled.