Skip to content
Snippets Groups Projects
Closed Go language support via extension
  • View options
  • Go language support via extension

  • View options
  • Closed Issue created by Warren Gifford

    Created by: sqs

    Sourcegraph's support for Go hovers, go-to-definition, find-references, and find-implementations is built on sourcegraph/go-langserver. This has worked well so far to provide those features, but we want to be able to provide code intelligence features and configuration on par with editors, such as more Go guru features, a smoother configuration experience, and other helpful context. To do this, we are moving all language support (including Go) to being built as Sourcegraph extensions. The initial milestone is to get the current feature set ported to an extension.

    Goals

    • Remove Go buildserver dependency on gitserver
    • Go langserver that we will be running on sourcegraph.com through extension is built from public go-langserver repo
    • lsp-proxy is not necessary for code intelligence => websockets are used to communicate from extension to langserver
    • No Go langserver specific code in sourcegraph/sourcegraph
    • No Sourcegraph specific code in Go language server
    • Maintain cross repository code intelligence
    • Indexer is not necessary for this
    • 3.0-preview only support dependencies that are public on GitHub

    Milestones

    E2E test checklist

    ✓ 21 of 21 checklist items completed

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first