mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-83744 Always insert '()' when class name is completed after 'new' keyword
This commit is contained in:
+1
-1
@@ -2,6 +2,6 @@ import pack.WithInnerAClass;
|
||||
|
||||
public class Test1 {
|
||||
public void foo() {
|
||||
new WithInnerAClass<caret>
|
||||
new WithInnerAClass()<caret>
|
||||
}
|
||||
}
|
||||
+6
-1
@@ -1,6 +1,11 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zzoo()<caret>
|
||||
Zzoo l = new Zzoo() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ public class TestClass {
|
||||
|
||||
public TestClass create() {
|
||||
final int value = 1;
|
||||
return new Xxx<caret>(value);
|
||||
return new Xxx(<caret>value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user