Help us shape the future of Go! Take the 2026 Go Developer Survey

lsp

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaProvider

type JavaProvider struct{}

JavaProvider implements the LanguageServiceProvider for Java.

func (*JavaProvider) Hover

func (p *JavaProvider) Hover(ctx context.Context, cli *lsp.LSPClient, uri lsp.DocumentURI, line, character int) (*lsp.Hover, error)

func (*JavaProvider) Implementation

func (p *JavaProvider) Implementation(ctx context.Context, cli *lsp.LSPClient, uri lsp.DocumentURI, pos lsp.Position) ([]lsp.Location, error)

func (*JavaProvider) PrepareTypeHierarchy

func (p *JavaProvider) PrepareTypeHierarchy(ctx context.Context, cli *lsp.LSPClient, uri lsp.DocumentURI, pos lsp.Position) ([]lsp.TypeHierarchyItem, error)

PrepareTypeHierarchy performs a textDocument/prepareTypeHierarchy request.

func (*JavaProvider) TypeHierarchySubtypes

func (p *JavaProvider) TypeHierarchySubtypes(ctx context.Context, cli *lsp.LSPClient, item lsp.TypeHierarchyItem) ([]lsp.TypeHierarchyItem, error)

TypeHierarchySubtypes requests the subtypes of a symbol.

func (*JavaProvider) TypeHierarchySupertypes

func (p *JavaProvider) TypeHierarchySupertypes(ctx context.Context, cli *lsp.LSPClient, item lsp.TypeHierarchyItem) ([]lsp.TypeHierarchyItem, error)

TypeHierarchySupertypes requests the supertypes of a symbol.

func (*JavaProvider) WorkspaceSearchSymbols

func (p *JavaProvider) WorkspaceSearchSymbols(ctx context.Context, cli *lsp.LSPClient, query string) ([]lsp.SymbolInformation, error)

Jump to

Keyboard shortcuts

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