coq-lsp icon indicating copy to clipboard operation
coq-lsp copied to clipboard

Code suggestions

Open ejgallego opened this issue 2 years ago • 2 comments

In order to try the repair code feature, we can suggest users two hints for Qed / Admitted proofs:

  • when the proof is broken, suggest the user to use Admitted.
  • when a proof that is not broken ends in Admitted, suggest switching it to Qed.

Whether having Admitted upstream is a good thing, I don't know.

ejgallego avatar Jul 06 '22 22:07 ejgallego

This is more a showcase for the LSP feature than a useful thing, as our error recovery will insert admitted on Qed , so I dunno.

ejgallego avatar Nov 16 '22 01:11 ejgallego

Another interesting one is to suggest the user to add proof terminators to proofs that are closed by a tactic.

ejgallego avatar Dec 22 '22 21:12 ejgallego