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