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

Suggestion: Super Quick Info ability to navigate to source of displayed namespaces #257

Closed
IneedHelp opened this issue May 11, 2023 · 14 comments
Assignees
Labels
enhancement QuickInfo Tool tip and quick info

Comments

@IneedHelp
Copy link

IneedHelp commented May 11, 2023

Hello, would it be possible to click on namespaces displayed in Super Quick Info which would allow navigating to files which contain those namespaces ?

@IneedHelp IneedHelp changed the title Incompatibility with (ReSharper) Enhanced Tooltip Request: Navigation capable Super Quick Info namespaces May 11, 2023
@IneedHelp IneedHelp changed the title Request: Navigation capable Super Quick Info namespaces Suggestion: ability to navigate to source of namespaces in Super Quick Info May 11, 2023
@IneedHelp IneedHelp changed the title Suggestion: ability to navigate to source of namespaces in Super Quick Info Suggestion: Super Quick Info ability to navigate to source of displayed namespaces May 11, 2023
@wmjordan
Copy link
Owner

wmjordan commented May 12, 2023

Good to hear this request.

Years ago, when I was developing the Click and Go feature, it was possible to list all files that reference a namespace. However, for instance, my solution had a root namespace named Codist, the result list would contain all code files. If the solution was large, scores of thousands code files could be listed. I felt that was not so useful. Thus I removed that behavior.

@fitdev

Would you mind commenting on this request?

@wmjordan wmjordan added enhancement QuickInfo Tool tip and quick info labels May 12, 2023
@fitdev
Copy link

fitdev commented May 12, 2023

I can certainly see how something like this could be useful. The only thing is that I am not sure whether files would make sense as opposed to types.

For my needs I would rather prefer all namespaces displayed (i.e. all namespace names between .s) to be clickable, such that when clicked they would display the same kind of popup as is displayed when a namespace is clicked on the NaviBar - i.e. it produces a floating window with a list of members.

Files on the other hand could me more tricky - what if a namespace is spread across several projects / assemblies, for some of which there is no source code file (i.e. it is a framework or 3rd party assembly).

@wmjordan
Copy link
Owner

wmjordan commented May 12, 2023

@IneedHelp
The following is how it looks to list locations of namespaces.

image

@fitdev
Nowadays it is possible to right click the big button on Super Quick Info to find members of a namespace.
image

@IneedHelp
Copy link
Author

@wmjordan

I was hoping something more in the likes of ReSharper Usages:

image

where if you query the usage of a namespace it displays a list of file names, followed by a code snippet of the usage and the line number and then finally followed by the fully qualified type. Regardless, whichever kind of navigational functionality you see fit adding to namespaces in Super Quick Info is still better than just the ability to select it as text.

@wmjordan
Copy link
Owner

@IneedHelp
How about the screenshot in my last comment?

@IneedHelp
Copy link
Author

I mean, that's fantastic, sure!

If thousands of files could be listed in a large solution, that's really the responsibility of the user, the extension is just doing its job. But in real-case scenarios, most people will probably not query the root of a namespace. Either-way, as I mentioned before, better to have any navigational functionality than none.

@wmjordan
Copy link
Owner

wmjordan commented May 12, 2023

better to have any navigational functionality than none.

Good. I totally agree.

But I am more in favor for @fitdev's suggestion.
Instead of listing code file names, list namespaces and types within the clicked namespace, which may be more useful and straightforward.

@wmjordan wmjordan self-assigned this May 12, 2023
@IneedHelp
Copy link
Author

Absolutely, looking forward to it.

@wmjordan wmjordan mentioned this issue May 12, 2023
26 tasks
@wmjordan
Copy link
Owner

This feature is done.
Please download the new beta.

wmjordan added a commit that referenced this issue May 12, 2023
@IneedHelp
Copy link
Author

IneedHelp commented May 12, 2023

I just installed it, awesome ! Thanks for the goodies !

@fitdev
Copy link

fitdev commented May 12, 2023

Nowadays it is possible to right click the big button on Super Quick Info to find members of a namespace.

I know, it's great! But I was talking about the namespace displayed at the footer when hovering over any type or member. It would be nice to make all such namespaces (between the .s) clickable as well. But it's not terribly important. Just a suggestion.

@wmjordan
Copy link
Owner

I was talking about the namespace displayed at the footer when hovering over any type or member

@fitdev The last beta should have this implemented.

@fitdev
Copy link

fitdev commented May 13, 2023

The last beta should have this implemented.

Thank you so much! Amazing work! Love this improvement!

@wmjordan
Copy link
Owner

Good.
Thank you all for your suggestions and ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement QuickInfo Tool tip and quick info
Projects
None yet
Development

No branches or pull requests

3 participants