LSP Add code action for adding labels to function arguments #5604
Norlock
started this conversation in
Ideas & suggestions
Replies: 2 comments 1 reply
-
|
I don't think this is a good idea as it encourages using the internal parameter names as the public API. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I usually add them when there are multiple arguments with the same type, to avoid passing values in the wrong order. What should be taken in consideration when adding labels? |
Beta Was this translation helpful? Give feedback.
1 reply
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 would like to have a code action when I have the following:
The code action can now suggest to prepend the function args with labels:
Beta Was this translation helpful? Give feedback.
All reactions