LineIndentProvider: support catch and finally

Part of #KT-22211
This commit is contained in:
Dmitry Gridin
2020-06-05 13:23:18 +07:00
parent acc15e5fad
commit 7c99a6fef4
19 changed files with 165 additions and 67 deletions
@@ -93,6 +93,11 @@ public class PerformanceTypingIndentationTestGenerated extends AbstractPerforman
runTest("idea/testData/indentationOnNewline/Catch3.kt");
}
@TestMetadata("Catch4.kt")
public void testCatch4() throws Exception {
runTest("idea/testData/indentationOnNewline/Catch4.kt");
}
@TestMetadata("ConsecutiveCallsAfterDot.kt")
public void testConsecutiveCallsAfterDot() throws Exception {
runTest("idea/testData/indentationOnNewline/ConsecutiveCallsAfterDot.kt");
@@ -223,6 +228,11 @@ public class PerformanceTypingIndentationTestGenerated extends AbstractPerforman
runTest("idea/testData/indentationOnNewline/Finally3.kt");
}
@TestMetadata("Finally4.kt")
public void testFinally4() throws Exception {
runTest("idea/testData/indentationOnNewline/Finally4.kt");
}
@TestMetadata("For.kt")
public void testFor() throws Exception {
runTest("idea/testData/indentationOnNewline/For.kt");