Documentation
¶
Overview ¶
Package buflsp implements a language server for Protobuf.
The main entry-point of this package is the Serve() function, which creates a new LSP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilePathToURI ¶ added in v1.66.0
FilePathToURI converts a file path to a properly encoded URI.
func Serve ¶
func Serve( ctx context.Context, bufVersion string, wktBucket storage.ReadBucket, container appext.Container, controller bufctl.Controller, wasmRuntime wasm.Runtime, stream jsonrpc2.Stream, queryExecutor *incremental.Executor, ) (jsonrpc2.Conn, error)
Serve spawns a new LSP server, listening on the given stream.
Returns a context for managing the server.
Types ¶
This section is empty.
Source Files
¶
- buflsp.go
- builtin.go
- cel.go
- completion.go
- completion_cel.go
- deprecate.go
- diagnostic.go
- document_link.go
- file.go
- file_manager.go
- folding_range.go
- hover_cel.go
- image.go
- jsonrpc_wrappers.go
- lint_ignore.go
- nyi.go
- organize_imports.go
- semantic_tokens.go
- semantic_tokens_cel.go
- server.go
- symbol.go
- uri.go
- usage.gen.go
- workspace.go
Click to show internal directories.
Click to hide internal directories.