Help us shape the future of Go! Take the 2026 Go Developer Survey

go-language-server

module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2018 License: MIT

README

A Go Language Server based on the Go Extension for Visual Studio Code

Wraps the VSCode Go extension from Microsoft into a language server, such that its functionality can be reused with other LSP-aware clients.

In the first iteration we will mock VSCode APIs or simulate their behavior backed by an LSP. We will maintain this as a fork of the original repository such that we can easily pick up incoming improvements of that by just rebasing. Once we got more confidence, we'd probably refactor the VSCode specific parts away.

Original README.md.

Mismatches and Challenges

  • There is no such thing as the activeTextEditor in LSP. For services that have a TextDocumentItem, we set it before calling the service impl, but for other services, e.g. executeCommand we cannot make sure that they are performed on the correct document.
  • We have to use/mock/adapt a lot of global variables

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL