TypeScript auto-complete only shows JSDoc for first function overload #80292
Labels
typescript
Typescript support issues
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
Issue Type: Bug
Steps:
add(
at the bottom to bring up auto-complete, then hit the Down arrow to go to the second overload.Expected: The auto-complete for the second overload shows docs from the doc-comment, same as it did the first overload.
Actual: The auto-complete for the second overload does not show docs.
Additional note: If you hover over the fully completed
add(1, 2, 3, 4);
, which is an overload without a doc-comment, it mostly works, showing a merged version "5-arg overload 3-arg overload". This behavior is totally OK for functions where there's one single doc-block above all overloads, it's just a bit odd in the case where you document 2+ overloads but not all of them.VS Code version: Code - Insiders 1.38.0-insider (3db7e09, 2019-09-03T23:11:54.533Z)
OS version: Darwin x64 18.7.0
Extensions: none
The text was updated successfully, but these errors were encountered: