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: Superquick Info Tooltips should display aliased type names in member signatures #331

Open
fitdev opened this issue Jun 30, 2024 · 1 comment
Assignees
Labels
enhancement QuickInfo Tool tip and quick info

Comments

@fitdev
Copy link

fitdev commented Jun 30, 2024

Sometimes it is helpful to know that the member (method) over which user is hovering is using a particular alias of a type in its signature. But currently Super Quick Info always displays the actual type's name, even though int the member signature an alias is used instead.

So, for example:

global using DateUtc = System.DateTime;

class Foo {

  void DoSomethingWithUtcDate(DateUtc date) { } // <--

}

When hovering over DoSomethingWithUtcDate member either at the call or declaration site, SuperQuick Info would display DateTime as the type of date argument. It would be nice if instead it would display: DateUtc (DateTime) or something similar, to reflect the fact that an aliased type name was used in the signature.

@wmjordan wmjordan added enhancement QuickInfo Tool tip and quick info labels Jul 8, 2024
@wmjordan
Copy link
Owner

wmjordan commented Jul 8, 2024

VS does that.
I will find a way to implement it.

@wmjordan wmjordan self-assigned this Jul 8, 2024
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

2 participants