-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Support TSX/JSX formatting #3838
Copy link
Copy link
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterThe issue relates to the built-in formatterFixedA PR has been merged for this issueA PR has been merged for this issue
Type
Fields
Give feedbackNo fields configured for issues without a type.
Right now formatting is supported or not right.
As you see below it just removes all indentation from JSX, i would prefer that we leave jsx code out of formatting if can't be supported right now, this makes formatting completely useless in TSX files.
If i understand this correctly then typescript has formatting capability and which is being used by atom-typescript in the sample below.
Original Code

Formatted Code
