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

Improve type tooltips for types emitted from type providers #41

Closed
ovatsus opened this issue Jan 28, 2014 · 3 comments
Closed

Improve type tooltips for types emitted from type providers #41

ovatsus opened this issue Jan 28, 2014 · 3 comments

Comments

@ovatsus
Copy link
Member

ovatsus commented Jan 28, 2014

The tooltips usually show something like JsonProvider<...>.TypeA. When you're trying to refactor code and need to put type annotation, this is not every useful, because you can't put this type there. It would be better if it shown a type alias if there is one (there usually is in type provider usage), otherwise it's very confusing for new users.

Background: http://stackoverflow.com/questions/21402829/type-annotation-for-using-a-f-typeprovider-type-e-g-fsharp-data-jsonprovider/21406103

This also affects VS, but if we could fix it here (which would then propagate to XS), we could later try the VS team to get it also

@ovatsus
Copy link
Member Author

ovatsus commented Feb 4, 2014

Another user lost confused because intellisense shows CsvProvider<...> instead of Stocks: http://stackoverflow.com/questions/21551811/f-can-a-type-provider-be-passed-into-a-function-as-a-parameter

@7sharp9
Copy link
Member

7sharp9 commented Feb 4, 2014

Can this be done as an addendum to the tooltip code?

@dsyme
Copy link
Contributor

dsyme commented May 2, 2017

Closing old discussion

@dsyme dsyme closed this as completed May 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants