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

Inconsistent step highlighting #951

Open
thery opened this issue Dec 3, 2024 · 5 comments
Open

Inconsistent step highlighting #951

thery opened this issue Dec 3, 2024 · 5 comments

Comments

@thery
Copy link
Contributor

thery commented Dec 3, 2024

I am working withvscoq-language-server 2.2.1 and coq 8.19.2
Given the code

Locate nat.

Goal True.

If I do an execution to point to the last line.
The first line does not get an executed status while it does if I do a step by step execution.
ddd

@TheoWinterhalter
Copy link

I don't think highlighting is the issue, because such a line is indeed not evaluated unless you explicitly step through.

@rtetley
Copy link
Collaborator

rtetley commented Dec 3, 2024

Indeed @TheoWinterhalter is right.

@thery
Copy link
Contributor Author

thery commented Dec 3, 2024

so interpret to point is not equivalent to step through?

@TheoWinterhalter
Copy link

It is skipping commands that would only print things. I guess it makes sense in terms of performance to ignore commands that do not modify the environment. Maybe there should be an opt-in to force them during "interpret to point"?

@gares
Copy link
Member

gares commented Dec 3, 2024

I'm probably the guilty one, and I too find it confusing. IMO it should be enabled in the mode we call "skip proofs" (that should be named "skip proofs and queries".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants