mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
add on demand imports for code references, e.g. allow to collapse nested class creation (IDEA-65357 )
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Add on demand static import for 'java.lang.Thread'" "true"
|
||||
package test;
|
||||
|
||||
import static java.lang.Thread.*;
|
||||
|
||||
public class Foo {
|
||||
{
|
||||
<caret>State en = new State();
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Add on demand static import for 'java.lang.Thread'" "true"
|
||||
package test;
|
||||
|
||||
public class Foo {
|
||||
{
|
||||
Thre<caret>ad.State en = new Thread.State();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user