Skip to content
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

[user interaction] Proof-general like mode. #860

Open
ejgallego opened this issue Oct 17, 2024 · 0 comments
Open

[user interaction] Proof-general like mode. #860

ejgallego opened this issue Oct 17, 2024 · 0 comments

Comments

@ejgallego
Copy link
Owner

I'm opening this issue as a follow up with a discussion with @tabareau and his feedback.

As of today, coq-lsp engine (Flèche) has the capability to work in fully "on-demand" mode.

This can be used to implement different document evaluation strategies.

As of today we support on-demand and continuous, however on-demand is less lazy than we would like due to the way certain LSP calls are setup.

In particular, most calls such as completion or codeAction do register with Flèche as demanding the document node.

Thus, even in full lazy mode, with goals only on user request, VSCode will issue a request for completion, which Flèche will in turn turn into an execution request.

We should both:

  • provide a better UI so users can select the different modes available.
  • update the handlers for these LSP request so that they depend either on the previous node or on the current one but optionally, so they don't trigger execution
  • ensure we are getting the desired amount of execution on our test suite.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant