Microsoft/TypeScript
Vedi su GitHubFormatter should convert object literal to multiple lines / one line
Open
#25.771 aperta il 18 lug 2018
Domain: FormatterHelp WantedSuggestion
Metriche repository
- Star
- (48.455 star)
- Metriche merge PR
- (Merge medio 6g 17h) (9 PR mergiate in 30 g)
Descrizione
TypeScript Version: 3.1.0-dev.20180717
Code
const o = { a: 0, b: 1, c: 2 };
Expected behavior:
A refactor exists to convert to:
const o = {
a: 0,
b: 1,
c: 2,
};
and back.
Actual behavior:
No such refactor. I have to do a lot of manual editing of whitespace.