mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
IDEA-69656 Complete Current Statement: Provide support for completing 'condition' section of 'for' statement
'Update' section of 'for' statement may be smart-completed now
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
for (int j = 1; j < 10<caret>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Foo {
|
||||
void test(int i) {
|
||||
for (int j = 1; j < 10; <caret>) {
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -214,6 +214,8 @@ public class CompleteStatementTest extends EditorActionTestCase {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testForUpdateGeneration() throws Exception { doTest(); }
|
||||
|
||||
private void doTestBracesNextLineStyle() throws Exception {
|
||||
CodeStyleSettings settings = CodeStyleSettingsManager.getSettings(getProject());
|
||||
settings.BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE;
|
||||
|
||||
Reference in New Issue
Block a user