You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(This may be more appropriate in the vscode-lean4 repo?)
In the pic above, putting the cursor on toString does not show the expected type, but hovering does. However, for defs that are not instance implementations, putting the cursor on the identifier will show the expected type as in the following picture.
I propose that it show should the expected type even in instance declarations.
User Experience: How does this feature improve the user experience?
Easier to see what a function is doing, and anyway hovering shows that type info.
Beneficiaries: Which Lean users and projects benefit most from this feature/change?
New users, people who don't want to keep stuff in their head.
Maintainability: Will this change streamline code maintenance or simplify its structure?
Dunno.
The text was updated successfully, but these errors were encountered:
Proposal
(This may be more appropriate in the vscode-lean4 repo?)
In the pic above, putting the cursor on
toString
does not show the expected type, but hovering does. However, for defs that are not instance implementations, putting the cursor on the identifier will show the expected type as in the following picture.I propose that it show should the expected type even in instance declarations.
Easier to see what a function is doing, and anyway hovering shows that type info.
New users, people who don't want to keep stuff in their head.
Dunno.
The text was updated successfully, but these errors were encountered: