Skip to main content

Crate shape_lsp

Crate shape_lsp 

Source
Expand description

Shape Language Server Protocol (LSP) implementation

This crate provides a fully-featured LSP server for the Shape language, enabling rich IDE support including diagnostics, completion, hover information, go-to-definition, and more.

Re-exports§

pub use document::DocumentManager;
pub use module_cache::ModuleCache;
pub use server::ShapeLanguageServer;

Modules§

analysis
Shared semantic analysis pipeline for Shape LSP.
annotation_discovery
Annotation discovery for LSP
call_hierarchy
Call hierarchy provider for Shape
code_actions
Code actions provider for Shape
code_lens
Code lens provider for Shape
completion
Code completion provider for Shape
context
Context analysis for intelligent completions
definition
Go-to-definition and find references provider
diagnostics
Diagnostics conversion from Shape errors to LSP diagnostics
doc_actions
doc_diagnostics
doc_links
doc_render
doc_symbols
document
Document management for LSP
document_symbols
Document and workspace symbols provider
folding
Folding range support for Shape LSP
foreign_lsp
Foreign language block LSP support.
formatting
Document formatting provider for Shape
grammar_completion
Grammar-driven completion provider
hover
Hover information provider for Shape
inlay_hints
Inlay hints provider for Shape
module_cache
Module cache for cross-file navigation
rename
Rename support for Shape
scope
Scope-aware symbol resolution for Shape
semantic_tokens
Semantic token support for Shape LSP
server
Main LSP server implementation
signature_help
Signature help provider for Shape
symbols
Symbol extraction from Shape programs
toml_support
LSP support for shape.toml configuration files.
trait_lookup
Shared trait lookup helpers for LSP hover/completion.
type_inference
Shared type inference utilities for the LSP