Expose interpret proof to the command palette #55
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#55
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?
crocq.interpretProofis registered by the extension (PR #54) but not declared inpackage.json'scontributes.commands, so it is only reachable through theCrocq: Interpret proofcode lens.The lens passes the command two arguments it needs: the Uri of the Rocq proof document and the position to interpret to. To make the command useful from the palette it has to infer that context itself, e.g.:
PROOF file.v:proof_nameannotation,That is a bit more than the lens PR, hence this separate issue. Once the command can derive the context, declare it in
contributes.commandsso it shows up in the palette (and can be bound to a keybinding).