TS Template added by @mjbvz
TypeScript Version: 4.6.0-dev.20220203
Search Terms
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version:
1.63.2 as well as 1.64.0-insider
- OS Version: macOS 12.1
Steps to Reproduce:
- Create a js function with parameters and include types via a JSDoc comment
- Create a new JSDoc comment above the other one and hit enter
For a demo of the issue, visit https://vscode.dev/github/jespertheend/vscode-jsdoc-autocomplete-bug and open jsdoc.js
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).
TS Template added by @mjbvz
TypeScript Version: 4.6.0-dev.20220203
Search Terms
Does this issue occur when all extensions are disabled?: Yes
1.63.2as well as1.64.0-insiderSteps to Reproduce:
For a demo of the issue, visit https://vscode.dev/github/jespertheend/vscode-jsdoc-autocomplete-bug and open
jsdoc.jsExpected: No
@paramautocompleteActual: It completes with
@paramand@returninside 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).