mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-07-27 18:48:12 +07:00
preserve comments on invert if (IDEA-159847)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class A {
|
||||
public void foo() {
|
||||
if (!c) {
|
||||
return;
|
||||
} //comments to restore
|
||||
a();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Invert 'if' condition" "true"
|
||||
class A {
|
||||
public void foo() {
|
||||
<caret>if (c) { //comments to restore
|
||||
a();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user