Allow TS formatter to not remove extra spaces after the first non-whitespace character (and before the last). #47708
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Domain: Formatter
The issue relates to the built-in formatter
Suggestion
An idea for TypeScript
TS Template added by @mjbvz
TypeScript Version: 4.6
Search Terms
I often format code like this outside in other projects:
I've found this particularly useful when dealing with color channel in an array as it makes it much easier to see the differences in the RHS:
alt+shift+f removes this whitespace, I checked settings and there are a bunch of whitespace related ones but they all seem to be strict around adding a single space. Can we add a setting so we can have these use >=1 instead space?
The text was updated successfully, but these errors were encountered: