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

The extension methods are shown in the tooltip as if they were ordinary static methods in a static class #75

Open
gcsizmadia opened this issue Oct 17, 2015 · 1 comment
Labels

Comments

@gcsizmadia
Copy link

I would like to see extension methods in the tooltip as if they were instance methods related to the type specified in the first parameter. Just like the way Visual Studio does.

Currently I see this with ReSharper:

(method) bool System.Linq.Enumerable.Any(this IEnumerable<int> source, Func<int, bool> predicate)

The Enhanced Tooltip extension replaces (method) to (extension) but it is still not enough for me.

(extension) bool System.Linq.Enumerable.Any(this IEnumerable<int> source, Func<int, bool> predicate)

I would like to see it like an ordinary instance method with the (extension) identifier kind:

(extension) bool IEnumerable<int>.Any(Func<int, bool> predicate)

Notice that the first parameter is no longer in the parameter list, only the additional parameters.

I think the tooltip would be much shorter and easier to undestand this way.

@MrJul MrJul added the feature label Nov 22, 2015
@MrJul
Copy link
Owner

MrJul commented Nov 22, 2015

Why not! Added as a feature request.

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

2 participants