Microsoft/TypeScript
Auf GitHub ansehenDelete unused JSDoc quick fix changes formatting on rest of JSDoc comment
Open
#47.923 geöffnet am 16. Feb. 2022
BugDomain: JSDocHelp Wanted
Repository-Metriken
- Stars
- (48.455 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 6T 17h) (9 gemergte PRs in 30 T)
Beschreibung
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