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

Show fully qualified function name on hover tooltip #612

Open
georgesboris opened this issue Jul 7, 2021 · 2 comments
Open

Show fully qualified function name on hover tooltip #612

georgesboris opened this issue Jul 7, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@georgesboris
Copy link

Expected Behavior

When using aliases or importing all functions of a module, it's useful to know the origin of the function right where you are using it. This is an example of how it works on Elixir language server:

Screen Shot 2021-07-07 at 07 43 16

Current Behavior

Currently we only get the function docs. But see how there is nothing here that points to Url.Builder :

Screen Shot 2021-07-07 at 07 45 12

Context

When debugging a piece of code it's pretty useful to not leave the scope of the function I'm trying to understand. Currently I have to backtrack the origin of multiple functions and hold it all in my head while I understand the thing I was actually focusing on.

@razzeee razzeee added the enhancement New feature or request label Jul 7, 2021
@ymtszw
Copy link

ymtszw commented Jul 7, 2021

I had thought about this too!
Since in Elm and other languages with similar module system, we create "namespaces" using modules and expose similarly-named functions from them. For that we have many functions with the same name from multiple modules. This feature definitely helps identifying therir origins.

@razzeee
Copy link
Member

razzeee commented Jul 7, 2021

Should be pretty easy to do, the only real question is how to display it nicely

@jmbockhorst jmbockhorst added this to the 2.7 milestone Apr 26, 2023
@jmbockhorst jmbockhorst reopened this Apr 26, 2023
@jmbockhorst jmbockhorst self-assigned this Apr 26, 2023
@jmbockhorst jmbockhorst modified the milestones: 2.7, 2.8 May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants