KT-5876 Code completion should never auto-insert item which requires adding import
#KT-5876 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun foo() {
|
||||
PrintS<caret>
|
||||
}
|
||||
|
||||
// AUTOCOMPLETE_SETTING: true
|
||||
// EXIST_JAVA_ONLY: PrintStream
|
||||
// NUMBER_JAVA: 1
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package second
|
||||
|
||||
public class NotImportedClass
|
||||
|
||||
// ALLOW_AST_ACCESS
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package first
|
||||
|
||||
class A : NotImported<caret>
|
||||
|
||||
// AUTOCOMPLETE_SETTING: true
|
||||
// EXIST: NotImportedClass
|
||||
// NUMBER: 1
|
||||
Reference in New Issue
Block a user