Skip to content

Expand types on autocomplete hover #589

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

Merged
merged 3 commits into from
Sep 22, 2022
Merged

Conversation

zth
Copy link
Collaborator

@zth zth commented Sep 21, 2022

Closes #588

This refactors the recently introduced type expansion in hovers to be easily reusable for other purposes.
It then applies that same type expansion on the hover contents produced when the hover is done via the autocomplete functionality.

825afc2 this commit is probably the most relevant one, showing how this changes what's produced when hovering something unsaved but where we can still find a type to show via autocomplete.

@zth zth requested a review from cristianoc September 21, 2022 19:31
Copy link
Collaborator

@cristianoc cristianoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@zth zth merged commit d0fae6d into master Sep 22, 2022
@zth zth deleted the expand-types-on-autocomplete-hover branch September 22, 2022 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable the same hover content for hovers on unsaved content as on compiled content
2 participants