Replies: 1 comment
-
beware that for some language servers inserting inlay hints would result in compiler diagnostics. for example rust-analyzer's inlay hints include function parameter names, eg |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using inlay type hints in a gradually typed Python code base. My language server (basedpyright) is doing a great job of inferring types.
At the moment, whenever I encounter an inlay hint standing in for a missing type hint, I manually edit the code to add the type hint. I was wondering, does there are already exist some way to accept inlay hints? As in, could I move my caret onto the line containing inlay hints and do something like
:insert-inlay-hints
?So far I haven't found anything, but I quickly wanted to check here before submitting a FR.
Beta Was this translation helpful? Give feedback.
All reactions