Hi, everyone, I find it really really hard to make vscoq work on vscode. I installed coq using opam and set
coqtop.binPath as "/home/xiyuzhai/.opam/default/bin/", only to get a notice "coqtop is not running"; there is no error message anywhere, including Coq Language Server output.
Updated project root to .
Coqtop binPath is:
Updated project root to .
Coqtop binPath is: /home/xiyuzhai/.opam/default/bin/
Updated project root to .
Coqtop binPath is: /home/xiyuzhai/.opam/default/bin/
From a programming point of view, I expect the extension to be more verbose about what's going on.
It would be great if the extension can automatically install things needed.
Just like Lean/Lean4/Haskell extensions
Is it possibly that there aren't many people using vscode for Coq? So that weird bugs are not spotted that fast.
Also, I couldn't find what is the default package manager for Coq. I would like to do things like lake init
or cargo new
in Coq. I'm a newbie, I'm basically confused about everything
Xiyu Zhai has marked this topic as resolved.
Xiyu Zhai has marked this topic as resolved.
I understand. Coq is different from Lean in that it needs to first interpret to end.
I got confused from Lean experience.
Curious, how does Lean work in this aspect?
I have to admit I don't understand the OP's question, but in Lean, the goal state in the "infoview" (the stuff on the right, similar to Coq) changes every time you change the cursor position.
Maybe the VsCoq extension can be configured to do this too. But I prefer the default settings. If I want to see the current state I have to hit Alt+Right.
OP, you don't have to worry about the "coqtop is not running" message. That's normal. Just hit Alt+Right to view the current goal state.
I see, that behavior sounds quite similar to Coq except for the cursory details (like how "proof cursor" moves)
Xiyu Zhai said:
Also, I couldn't find what is the default package manager for Coq. I would like to do things like
lake init
orcargo new
in Coq. I'm a newbie, I'm basically confused about everything
If I understand your question correctly, that's opam, which apparently you are already using.
Last updated: Oct 03 2023 at 21:01 UTC