Commit c563e83
authored
Merge pull request microsoft#13092 from SaschaNaz/jsxdangling
Format JSX expression and closing token4 files changed
+35-11Lines changed: 35 additions & 11 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/services/formatting
- tests/cases/fourslash
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/services/formatting/formatting.ts
Copy file name to clipboardExpand all lines: src/services/formatting/formatting.ts+18-6Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
494 | 494 | |
495 | 495 | |
496 | 496 | |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
497 | 507 | |
498 | | - |
499 | | - |
500 | | - |
501 | | - |
502 | | - |
503 | | - |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
504 | 514 | |
| 515 | + |
| 516 | + |
505 | 517 | |
506 | 518 | |
507 | 519 | |
|
Collapse file
src/services/formatting/rules.ts
Copy file name to clipboardExpand all lines: src/services/formatting/rules.ts+8-1Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
710 | 710 | |
711 | 711 | |
712 | 712 | |
713 | | - |
714 | 713 | |
715 | 714 | |
716 | 715 | |
717 | 716 | |
| 717 | + |
| 718 | + |
| 719 | + |
| 720 | + |
| 721 | + |
| 722 | + |
| 723 | + |
| 724 | + |
718 | 725 | |
719 | 726 | |
720 | 727 | |
|
Collapse file
tests/cases/fourslash/formatVariableDeclarationList.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/formatVariableDeclarationList.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
| 40 | + |
Collapse file
tests/cases/fourslash/formattingJsxElements.ts
Copy file name to clipboardExpand all lines: tests/cases/fourslash/formattingJsxElements.ts+8-3Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
| 75 | + |
| 76 | + |
75 | 77 | |
76 | 78 | |
77 | 79 | |
| ||
120 | 122 | |
121 | 123 | |
122 | 124 | |
123 | | - |
124 | | - |
| 125 | + |
125 | 126 | |
126 | 127 | |
127 | 128 | |
| ||
145 | 146 | |
146 | 147 | |
147 | 148 | |
148 | | - |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
0 commit comments