We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f962aba commit 9b9032fCopy full SHA for 9b9032f
tests/cases/fourslash/indentationInJsx3.ts
@@ -0,0 +1,31 @@
1
+/// <reference path='fourslash.ts' />
2
+
3
+//@Filename: file.tsx
4
+////function foo () {
5
+//// return (
6
+//// <div>
7
+////hello
8
+////goodbye
9
+//// </div>
10
+//// )
11
+////}
12
13
+goTo.position(21);
14
+verify.textAtCaretIs("return");
15
+goTo.position(38);
16
+verify.textAtCaretIs("<div>");
17
+goTo.position(44);
18
+verify.textAtCaretIs("hello");
19
+goTo.position(50);
20
+verify.textAtCaretIs("goodbye");
21
22
+format.document();
23
24
25
26
27
28
+goTo.position(56);
29
30
+goTo.position(74);
31
0 commit comments