lsptest

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package lsptest is a fake language server for tests: the test binary runs it when started with BLITZ_FAKE_LSP=1 (call MaybeServe first in TestMain), and Launcher starts that.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Launcher

func Launcher() lsp.Launcher

Launcher starts the fake server: this test binary, again, in dir.

func MaybeServe

func MaybeServe()

MaybeServe runs the fake server and exits when this process was started as one.

func Serve

func Serve(in io.Reader, out io.Writer)

Serve answers like a small language server: a problem ("fake problem") on line 1 of every file unless it says "fixed"; the symbol Foo defined on line 2, column 6, and used on line 4; Foo as the only completion.

Types

This section is empty.

Jump to

Keyboard shortcuts

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