Expand description
Module cache for cross-file navigation
Provides module resolution and caching for import statements, enabling go-to-definition and find-references across .shape files.
Structs§
- Exported
Symbol - An exported symbol from a module
- Module
Cache - Module cache for tracking and resolving imports
- Module
Child - Child entry used for hierarchical module completion.
- Module
Info - Information about a loaded module
Enums§
- Symbol
Kind - Kind of exported symbol
Constants§
- MAX_
WORKSPACE_ FILES - Bound on workspace-file enumeration to keep the LSP responsive on
monorepos. Mirrors rust-analyzer’s per-crate file caps; if a workspace
genuinely has more than this many
.shapefiles, the user is editing in a context where eager indexing is the wrong default and they should scope the LSP viashape.toml[modules].paths.
Functions§
- path_
to_ module_ path - W2.7 willRenameFiles helper — derive the canonical Shape
frommodule path (a::b::c) for a.shapefile relative to the workspace root.