code actions for annotation clauses with diagnostics #67
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#67
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?
we are doing something like this already for the stale model check in extension/src/language_features/crocqCodeAction.ts.
when we apply diagnostics to clauses we could also provide some actions to fix them with cmd+.,
consider:
PROOF filename:proofnameIf file "filename" is not found: does it end with ".v"? else suggest a quick fix adding it. Else suggest generating the skeleton file for it.
If "filename" exists but "proofname" does not: suggest generating the theorem scaffold and putting it inside the file.