Hide call argument name inlay hints when parameter and argument name are identical #4834
disrupted
started this conversation in
Enhancement
Replies: 1 comment
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
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.
-
Currently,
callArgumentNames
inlay hints are shown for parameters, even when the actual parameter name is already identical to the variable being passed as argument.Here's an example

IMO the inlay hint for the
url
parameter is unnecessary, because the argument being passed already has the exact same name. I believe it would be more concise and read nicer if only the inlay hint for thecallback
parameter was shown.Beta Was this translation helpful? Give feedback.
All reactions