lsp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 9 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(ctx context.Context, cmdName string, args []string) (*Client, error)

func (*Client) Definition

func (c *Client) Definition(filePath string, line, char int) ([]protocol.Location, error)

func (*Client) DidOpen

func (c *Client) DidOpen(filePath string, languageID string, content string) error

func (*Client) Hover

func (c *Client) Hover(filePath string, line, char int) (*protocol.Hover, error)

func (*Client) Initialize

func (c *Client) Initialize(rootPath string) error

func (*Client) Shutdown

func (c *Client) Shutdown() error

Jump to

Keyboard shortcuts

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