Phase 5: add completion and symbol navigation

This commit is contained in:
hgranthorner
2026-08-04 15:25:11 -04:00
parent c4e1d92c9a
commit 4758bf12e2
8 changed files with 696 additions and 11 deletions

View File

@@ -174,10 +174,13 @@ Tier 3: parsed 714 files, 714 clean (100.0%), 0 with errors, 0 PsiErrorElements
`JaiReferenceHostMixin` from the BNF. Do not remove the mixin and expect a
`PsiReferenceContributor` to be queried through the standard reference service.
### Not done — pick up here
### In progress — pick up here
1. **Phase 5** — completion (keywords, directives, module names), rename, and
find-usages; see `docs/BUILD_PLAN.md`.
1. **Phase 5 completion and navigation** basic completion for keywords,
compiler directives, `#import`/`#load` module paths is implemented in
`dev.hgh.jai.completion.JaiCompletionContributor`. Identifier references now
resolve procedures/types in the same file and transitively loaded/imported
files, with headless fixture coverage. Rename and find-usages remain.
2. **Phases 6+** — formatter, inspections, compiler integration, and other
optional work remain. `#asm` bodies are intentionally consumed opaquely, so
nothing inside them has PSI yet.