Documentation
¶
Overview ¶
Starts a language server of the repository for an editor, from the repository root. The servers compile sim/core, which imports the generated sim/core/proto, so a checkout whose .proto files moved past the generated code cannot even start one. This package imports nothing from the repository: it regenerates that code first, builds the server and runs it on the editor's stdio. Where the build still fails, a language server that only reports the failure answers instead, so the editor keeps the server and restarting it retries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
Name string // What the editor knows the server as, which a failed build is reported under.
Package string // The package it is built from, such as ./tools/spelldata.
Tags []string // Its build tags.
Args []string // Its arguments.
LSP bool // It speaks the Language Server Protocol on stdio, so a failed build is reported over it.
}
A server and how it is built.