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

Feature wish: show types of top-level identifiers in definitions (on mouse hover) #74

Open
anton-trunov opened this issue Nov 30, 2021 · 2 comments

Comments

@anton-trunov
Copy link
Collaborator

I imagine this is something like adding Check @foo. for every top-level identifier and then showing that only on mouse hover or any other UI mechanism. Not sure if this is easy to add, though. This feature could be useful when reading definitions that use unfamiliar libraries. I use something like this in my Emacs setup -- the type of the thing under the cursor is displayed in the minibuffer.

@cpitclaudel
Copy link
Owner

That would be great. I expect it would be part of #27

@insightmind
Copy link
Contributor

We would love to support a feature like this for Lean 4 as well and added it to our future roadmap.
As we are currently in the process of completing Lean 4 support for Alectryon, we are also open to help and implement that feature after Lean 4 support is merged.
We would aim to implement it in an extensible way that eases future support for other languages like Coq and Lean 3.

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

3 participants