mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
IDEA-69648 Complete Current Statement: Correct 'for' completion
Provided completion for standalone 'for' keyword
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
for<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
for (<caret>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -201,6 +201,8 @@ public class CompleteStatementTest extends EditorActionTestCase {
|
||||
}
|
||||
|
||||
public void testNoUnnecessaryEmptyLineAtCodeBlock() throws Exception { doTest(); }
|
||||
|
||||
public void testForStatementGeneration() throws Exception { doTest(); }
|
||||
|
||||
private void doTestBracesNextLineStyle() throws Exception {
|
||||
CodeStyleSettings settings = CodeStyleSettingsManager.getSettings(getProject());
|
||||
|
||||
Reference in New Issue
Block a user