lsp

package
v0.256.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogSink added in v0.161.0

type LogSink struct {
	// contains filtered or unexported fields
}

func NewLogSink added in v0.161.0

func NewLogSink(server *Server) *LogSink

func (*LogSink) Log added in v0.161.0

func (l *LogSink) Log(entry log.Entry) error

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a language server.

func NewServer

func NewServer(ctx context.Context) *Server

NewServer creates a new language server.

func (*Server) BuildStarted added in v0.161.1

func (s *Server) BuildStarted(dir string)

BuildStarted clears diagnostics for the given directory. New errors will arrive later if they still exist.

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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