Teach index working with source roots with package prefix
#KT-9167 Fixed
Original commit: 23e35ab112
This commit is contained in:
committed by
Nikolay Krasko
parent
048725c3f0
commit
b77f4ffe9f
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="invalid-prefix.test"/>
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="IDEA_JDK" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="module1" />
|
||||
<orderEntry type="library" name="KotlinRuntime" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package some
|
||||
|
||||
import bad.prefix.KotlinTestInBadPrefix
|
||||
import good.prefix.KotlinTestInGoodPrefix
|
||||
import good.prefix.JavaTest;
|
||||
import test.JavaRef
|
||||
|
||||
val goodTest = KotlinTestInGoodPrefix()
|
||||
val badTest = KotlinTestInBadPrefix()
|
||||
val javaTest = JavaTest().bar()
|
||||
val javaRef = JavaRef().foo(null)
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
package test;
|
||||
|
||||
import good.prefix.JavaTest;
|
||||
|
||||
public class JavaRef {
|
||||
public void foo(JavaTest javaTest) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user