Microsoft/TypeScript
Voir sur GitHubFormatter should convert object literal to multiple lines / one line
Open
#25 771 ouverte le 18 juil. 2018
Domain: FormatterHelp WantedSuggestion
Métriques du dépôt
- Stars
- (48 455 stars)
- Métriques de merge PR
- (Merge moyen 6j 17h) (9 PRs mergées en 30 j)
Description
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.