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 4853fd0 commit 822199fCopy full SHA for 822199f
tests/cases/fourslash/formattingOnClasses.ts
@@ -77,7 +77,9 @@
77
/////*60*/ private foo ( ns : any ) {
78
/////*61*/ return ns.toString ( ) ;
79
/////*62*/ }
80
-/////*63*/}
+/////*63*/ protected bar ( ) { }
81
+/////*64*/ protected static bar2 ( ) { }
82
+/////*65*/}
83
format.document();
84
goTo.marker("1");
85
verify.currentLineContentIs("class a {");
@@ -204,4 +206,8 @@ verify.currentLineContentIs(" return ns.toString();");
204
206
goTo.marker("62");
205
207
verify.currentLineContentIs(" }");
208
goTo.marker("63");
209
+verify.currentLineContentIs(" protected bar() { }");
210
+goTo.marker("64");
211
+verify.currentLineContentIs(" protected static bar2() { }");
212
+goTo.marker("65");
213
verify.currentLineContentIs("}");
0 commit comments