Expand description
LSP navigation providers for Perl
This crate provides navigation functionality for Perl code.
§Features
- Go to definition
- Find references
- Go to implementation
- Go to type definition
- Type hierarchy
- Call hierarchy
- Document links
§Usage
ⓘ
use perl_lsp_navigation::{TypeHierarchyProvider, WorkspaceSymbolsProvider};
let type_hierarchy = TypeHierarchyProvider::new(workspace_index);
let workspace_symbols = WorkspaceSymbolsProvider::new(workspace_index);Structs§
- Location
- Represents a location inside a resource, such as a line inside a text file.
- Type
Definition Provider - Provides go-to-type-definition functionality for Perl code.
- Type
Hierarchy Item - Represents a type in the hierarchy
- Type
Hierarchy Provider - Provider for type hierarchy (inheritance) information
- Workspace
Symbol - LSP WorkspaceSymbol representing a symbol found in the workspace.
- Workspace
Symbols Provider - Workspace symbols provider for LSP
workspace/symbolrequests.
Enums§
- Type
Hierarchy Symbol Kind - Kind of symbol in the type hierarchy (LSP protocol values)
Functions§
- compute_
links - Computes document links for a given Perl document.
- find_
references_ single_ file - Return (start_offset, end_offset) for same-file references