Skip to content

Adding the PackageName/ComponentName on hover #686

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

Open
theobat opened this issue Dec 17, 2020 · 3 comments
Open

Adding the PackageName/ComponentName on hover #686

theobat opened this issue Dec 17, 2020 · 3 comments
Labels

Comments

@theobat
Copy link

theobat commented Dec 17, 2020

This is an idea/Feature request.

Currently the hover information only displays the element's source and not the package name where it belongs.
I believe it would be very useful to display the package name and even the component name (given cabal support for internal libraries).

I don't think this would be hard so I could do it (maybe a pointer to the relevant code could help), but maybe it's not wanted ?

@jneira
Copy link
Member

jneira commented Mar 24, 2021

@DavidEichmann pointed out an addition to this:

It would also be great if we could see the package when hovering over an import e.g. over import A.B.C so that I can easily know what package A.B.C is defined in.

@michaelpj
Copy link
Collaborator

This happened

@michaelpj michaelpj reopened this Jan 11, 2024
@michaelpj
Copy link
Collaborator

Ah sorry, this happened for names, but I think not for imports.

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

No branches or pull requests

3 participants