~/bend-docscommunity

src/lsp/server.bend fails

raw source on the hub · import 0xd96f2ab40f5df4925c42e96d0ba857ff/src/lsp/server.bend as Server

lsp/server: the loop. The transport the messages ride on and the files behind imports and Base are passed in (transport/, files/); the checker behind the diagnostics is checker/bend.bend, called directly. The open documents are the loop's state. The checker runs on open and save, against the file on disk; the linter on every open, change and save, on the text the editor shows.

21 imports
import Base
import 0x81c67699424929b5c44cd8577e18117f/main.bend as Ezjson
import 0x81c67699424929b5c44cd8577e18117f/src/value.bend as J
import ./proto.bend as Proto
import ./docs.bend as Docs
import ./nav.bend as Nav
import ./semantic.bend as Semantic
import ../rules.bend as Lint
import ../finding.bend as Finding
import ../config.bend as Config
import ../lint/plan.bend as Plan
import ../noqa.bend as Noqa
import ./transport/service.bend as T
import ./checker/answer.bend as C
import ./checker/bend.bend as BendChecker
import ./files/service.bend as F
import ./report.bend as Rep
import ./enc.bend as Enc
import ../syntax/outline.bend as Outline
import ../syntax/lex.bend as Lex
import ../syntax/word.bend as Word