Phase 5: add rename and find usages

This commit is contained in:
hgranthorner
2026-08-04 15:54:31 -04:00
parent 4758bf12e2
commit 460fc969db
17 changed files with 293 additions and 25 deletions

View File

@@ -11,13 +11,20 @@ never from online material (see `AGENTS.md`).
(`#import`, `#run`, …), notes (`@Cleanup`), numbers (hex / binary / hexfloat /
`_` separators), strings, here-strings (`#string DONE … DONE`), nesting block
comments, operators, `---`, `$`/`$$`, `it` / `it_index`
- Grammar-Kit parser and PSI for the full local 714-file corpus
- Structure view and folding for blocks, comments, and here-strings
- Colour settings page (**Settings → Editor → Color Scheme → Jai**)
- Comment / uncomment (`//` and nesting `/* */`)
- Brace matching, including the Jai-only `.{` struct-literal and `.[`
array-literal openers
- Basic completion for keywords, directives, and local Jai module/file paths
- Go-to-definition for procedures and types in the same file and through
`#import`/`#load`
- Rename and find-usages for declaration names and their resolved references
Not yet: parser and PSI, so no structure view, go-to-definition, completion,
formatting, or inspections. See `docs/BUILD_PLAN.md` for the phase plan.
Remaining code-insight gaps include module-qualified members, parameters, and
struct fields. Formatting, inspections, and compiler integration are planned
later. See `docs/BUILD_PLAN.md` for the phase plan.
## Install it locally