lsp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(mgr *Manager) *Client

func (*Client) GetDiagnostics

func (c *Client) GetDiagnostics(ctx context.Context, paths []string) (string, error)

func (*Client) WorkspaceSymbol

func (c *Client) WorkspaceSymbol(ctx context.Context, query string) (string, error)

type Manager

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

func NewManager

func NewManager(projectRoot, home string) *Manager

func (*Manager) AllInstances

func (m *Manager) AllInstances() []*instance

func (*Manager) Detect

func (m *Manager) Detect(ctx context.Context)

func (*Manager) ForFile

func (m *Manager) ForFile(path string) *instance

func (*Manager) SetSignalHandler

func (m *Manager) SetSignalHandler(fn func(content string))

func (*Manager) SetWarningHandler

func (m *Manager) SetWarningHandler(fn func(kind, message string))

func (*Manager) ShutdownAll

func (m *Manager) ShutdownAll()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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