How to create a language server (LSP) in Go?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • bass

    a low fidelity scripting language for project infrastructure (by vito)

  • vito/bass is a cool, well done scripting language implemented in Go with an LSP, I think. Here's the entrypoint: https://github.com/vito/bass/blob/main/cmd/bass/lsp.go

  • glsp

    Language Server Protocol SDK for Go (by tliron)

  • I'm using https://github.com/tliron/glsp which works pretty good for me together with the official specification of the ls-protocol

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • DaedalusLanguageServer

    A LanguageServer implementation in GO for the scripting language daedalus

  • i implemented a, non full-featured, language server for a scripting language https://github.com/kirides/DaedalusLanguageServer

  • templ

    A language for writing HTML user interfaces in Go.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts