Skip to main content

Crate php_lsp

Crate php_lsp 

Source

Modules§

ast
backend
cache
Persistent on-disk cache for Phase K.
call_hierarchy
completion
config
db
Salsa-based incremental computation layer.
definition
docblock
document_store
file_index
hover
implementation
panic_guard
Wrap async LSP handler bodies so a panic in one request doesn’t terminate the server connection. tower-lsp 0.20 does not catch handler panics by default; a single bad request would otherwise kill the editor’s LSP session and lose unsaved client-side state.
references
rename
semantic_diagnostics
symbols
type_map
util
walk

Macros§

impl_arc_update
Implement the salsa::Update trait for Arc-wrapped types using pointer equality. This reduces boilerplate for types that wrap a single Arc field and should only invalidate when the pointer changes (not the contents).