vscoq icon indicating copy to clipboard operation
vscoq copied to clipboard

Fix auto-completion

Open arnoudvanderleer opened this issue 2 years ago • 2 comments

Note: I am still on v0.3.8, so not entirely sure how this translates to the new version. I am not sure how hard this is to implement (although I guess it would be pretty hard). Would it be possible to have VScoq autocomplete / -suggest names of lemmas and/or variables that are in scope? At some point, the names of my own lemmas get very long, or I forget the exact wording of a lemma in some file that I import. Would it be possible to have VScoq try to autocomplete the names of these lemmas when I am typing?

arnoudvanderleer avatar Aug 13 '23 14:08 arnoudvanderleer

You should test the latest version (vscoq2) which has an experimental option to do just that ! Just don't forget to toggle the completion setting which is disabled by default :-)

rtetley avatar Aug 21 '23 09:08 rtetley

Hello!

I toggled the option on the latest version of VsCoq using vscode 1.89.0 on a MacBook Pro M3 Max with Sonoma 14.2.1

But I get:

"[Error - 21:10:07] Request textDocument/completion failed. Message: Can't get completions Code: -32803 "

Capture d’écran 2024-05-06 à 21 11 48

tcosmo avatar May 06 '24 19:05 tcosmo