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

[Mouseover pop-up] show type above error #401

Open
fpvandoorn opened this issue Mar 2, 2024 · 1 comment
Open

[Mouseover pop-up] show type above error #401

fpvandoorn opened this issue Mar 2, 2024 · 1 comment

Comments

@fpvandoorn
Copy link
Contributor

In VSCode, when mousing over a constant, it shows

  • First any errors on that constant
  • Below it the type of the constant

Now the error is already easily visible in the Lean Infoview, either in the Messages or All Messages tab. Therefore, when mousing over a term, I am never interested in seeing the error. However, the type of a constant is not as easily accessible elsewhere, and very often I want to see the type of the constant (usually to find out which arguments are explicit).

Therefore my suggestion: show the type of the constant above the error in the mouse-over pop-up. It will save me a bit of scrolling time, because the error is often larger than the pop-up. This is a minor issue, but it happens very frequently.

In the Zulip thread there is significant support.

@mhuisi mhuisi transferred this issue from leanprover/vscode-lean Mar 4, 2024
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

2 participants