-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: showing the next bullet #643
Comments
You probably want something like https://github.com/coq/coq/blob/a37a2e4bf622d7c2a6a0ec9fe9d58d981a142442/printing/printer.ml#L966-L972 |
Thanks @SkySkimmer . If we add a quickfix for that in Coq, there is nothing to do here in VSCoq. |
WDYM? Coq already prints this info (with coqtop in proof general) |
I mean generating a proper quickfix as in LSP. Warnings as errors can carry one, maybe plain errors cannot yet.I don't recall the API. I guess the only sensitive piece of info is the loc, I.e. the piece of text to be replaced by the right bullet. If it is a bad bullet, then it is the loc of the whole bullet. If it is a missing bullet, it must be some white space before the tactic. |
There is no warning or error involved here. |
My guess is that no matter what you write after, you get an error saying that you need a bullet or that the bullet you write is wrong. That is the error we can suggest a fix for. Maybe it is too convoluted to be usable, I would need to try. Using the same api for code completion can work as well of course. |
I think it should just replace the text that says "No more goals" which is incorrect and replace it with the one Coq outputs. |
I suppose we can do both ?
|
Thanks to @SkySkimmer I now detect unfocused goal (see linked PR). |
I would advocate for automatically displaying the unfocused goals (or at the very least making an option to do so). If I have to mouse over to an Unfocused tab to see them I would likely just never do so. |
Shouldn't it say "focus with bullet"? |
Good catch 😅 |
Hi. I'm using VsCoq, and it's pretty nice! However, I think it'd be great if VsCoq prints the next bullet on the completion of proof for a bullet.
Currently, VsCoq only says "No more subgoals".
Coqtail, a Vim plugin for Coq, has the feature like this.
I'm using VsCoq 2.0.1 and vscoq-language-server 2.0.1+coq8.18.
The text was updated successfully, but these errors were encountered: