mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
constructor completion: implement anonymous methods after arg live template (IDEA-CR-14717)
This commit is contained in:
+2
@@ -2,6 +2,8 @@ abstract class Foo{
|
||||
public Foo(int x) {
|
||||
}
|
||||
|
||||
abstract int foo();
|
||||
|
||||
{
|
||||
Foo f = new F<caret>
|
||||
}
|
||||
|
||||
+2
@@ -2,6 +2,8 @@ abstract class Foo{
|
||||
public Foo(int x) {
|
||||
}
|
||||
|
||||
abstract int foo();
|
||||
|
||||
{
|
||||
Foo f = new Foo(<selection>x</selection><caret>) {}
|
||||
}
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
abstract class Foo{
|
||||
public Foo(int x) {
|
||||
}
|
||||
|
||||
abstract int foo();
|
||||
|
||||
{
|
||||
Foo f = new Foo(x) {
|
||||
@Override
|
||||
int foo() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user