IDEA-65434 Ctrl+Shift+Enter bug in conditional blocks

Corrected situation when we complete statement with empty code block and code style is set to keep simple instructions in one line
This commit is contained in:
Denis Zhdanov
2011-02-18 12:03:12 +03:00
parent 798430dd63
commit 5fe8f15981
5 changed files with 40 additions and 12 deletions
@@ -0,0 +1,5 @@
class Test {
Test(boolean condition) {
if (condition<caret>)
}
}
@@ -0,0 +1,7 @@
class Test {
Test(boolean condition) {
if (condition) {
<caret>
}
}
}