Microsoft/TypeScript
GitHub ã§èŠãDelete unused JSDoc quick fix changes formatting on rest of JSDoc comment
Open
#47,923 opened on 2022幎2æ16æ¥
BugDomain: JSDocHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
Bug Report
ð Search Terms
- quick fix
- code action
- jsdoc
ð Version & Regression Information
4.7.0-dev.20220216
This is new behavior and not a regression
ð» Repo
- For the TypeScript:
/**
* @param c
* @param b
*
* bla bla bla
*/
function add(a, b) { }
- Trigger the
delete unused @param tagquick fix oncinside the JSDoc.
ð Actual behavior
This results in:
/**
* @param b bla bla bla
*/
function add(a, b) { }
ð Expected behavior
I'd sped that only the @param c is removed and the rest of the jsdoc remains unchanged:
/**
* @param b
*
* bla bla bla
*/
function add(a, b) { }
Related issues
- #47922