-
-
Notifications
You must be signed in to change notification settings - Fork 336
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
Inlay Type Hints in Variable Declarations #1444
Conversation
Can confirm that #1445 solves the issue with inferring types. |
a630c60
to
ccee683
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need some tests to make sure it is working correctly and avoid future regressions.
I've added two commits to your branch that should allow you to write some new tests like this.
If there is anything that I can do to help, don't hesitate to ask.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one more thing and then we are done. everything else looks great.
6848a2a
to
cb2b05a
Compare
Co-authored-by: Techatrix <[email protected]>
Adds inlay hints to variable declarations - useful for making sure a type is what you think zls thinks it is without having to hover over a variable name.
fixes #318