-
Notifications
You must be signed in to change notification settings - Fork 59
Expand type aliases one level when hovering #557
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
Comments
Can we have a complete example (there are some details I have doubts about)? Also, is this only about references across different files? |
type peps = {x:int, y:string}
let foo = () => {x:3, y:""}
// Hover: unit => peps When hovering on type peps = {x: int, y: string} In general, when showing a type |
Currently, when hovering something where the type is a reference to some other type, that other type is not expanded. Example:
We should expand that type reference one level (?), so that the resulting hover instead would be something along the lines of:
Not 100% of how the representation should be, but we should include the full aliased type at least.
The text was updated successfully, but these errors were encountered: