Question
Why do the parameter inlay hints not appear in the code?
Answer
There are some heuristics for inlays to avoid showing them when it is obvious. For example,
- If the argument is the reference, which has the same name as a parameter, then the hint won't be shown. Because it obviously shows the arguments are assigned correctly.
- If the argument is a wrong reference, which has an error, then the hint won't be shown.
- If the argument has a comment after it, then the hint won't be shown. Because the comment is for the description of the corresponding parameter.
Comments
0 comments
Please sign in to leave a comment.