code completions suggesting proofs/definitions to link to when writing a PROOF or SPEC clause #23
Labels
No labels
blocked
bug
priority!
quick-pick
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code2rocq/crocq#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
first do #56
When typing in a SPEC/PROOF clause link like:
PROOF verif_thing.v:body_...
We could suggest the lemmas/theorems inside verif_thing.v as code completions, we can access already get all lemmas/theorems in a rocq file via the vsrocq api: src/commands/services/vsrocq/vsrocq-api.ts
So we would register a completionProvider checking if the cursor is inside a SPEC/PROOF clause_contents node, then fetch all relevant suggestions