You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSDoc comment template incorrectly returned for element that already has JSDoc comment #47733
Expected: No @param autocomplete
Actual: It completes with @param and @return inside the comment.
I'd expect comments to only autocomplete like this if a function is directly below it. Though I suppose autocomplete could be useful for overloading functions, this is not supported in TypeScript right now (see #25590).
changed the title [-]JSDoc autocompletes with @param when it shouldn't[/-][+]JSDoc comment template incorrectly returned for element that already has JSDoc comment[/+]on Feb 4, 2022
Activity
[-]JSDoc autocompletes with @param when it shouldn't[/-][+]JSDoc comment template incorrectly returned for element that already has JSDoc comment[/+]mjbvz commentedon Feb 4, 2022
Inline repo using VS Code :
/** */Bug
docCommentTemplatereturns the template forfoo