lsp

package
v0.296.7 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by 'just lsp-generate'. DO NOT EDIT.

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) OnBuildFailed added in v0.262.0

func (s *Server) OnBuildFailed(err error)

func (*Server) OnBuildStarted added in v0.262.0

func (s *Server) OnBuildStarted(module buildengine.Module)

OnBuildStarted clears diagnostics for the given directory. New errors will arrive later if they still exist. Also emit an FTL message to set the status.

func (*Server) OnBuildSuccess added in v0.262.0

func (s *Server) OnBuildSuccess()

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