mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
in basic completion in java, act like smart completion for class names after new
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>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zz<caret>
|
||||
}
|
||||
}
|
||||
|
||||
interface Zzoo {
|
||||
void run();
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zzoo() {
|
||||
@Override
|
||||
public void run() {
|
||||
<selection>//To change body of implemented methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface Zzoo {
|
||||
void run();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import java.util.List;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
List<String> l = new ArraLi<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
class Foo {
|
||||
{
|
||||
List<String> l = new ArrayList<String>(<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zz<caret>
|
||||
}
|
||||
}
|
||||
|
||||
interface Zzoo {
|
||||
void run();
|
||||
|
||||
class Impl implements Zzoo {}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
class Foo {
|
||||
{
|
||||
Zzoo l = new Zzoo<caret>
|
||||
}
|
||||
}
|
||||
|
||||
interface Zzoo {
|
||||
void run();
|
||||
|
||||
class Impl implements Zzoo {}
|
||||
}
|
||||
Reference in New Issue
Block a user