Process only those Kotlin files that sit under source/test roots
This commit is contained in:
@@ -102,7 +102,7 @@ public class PluginJetFilesProvider extends JetFilesProvider {
|
||||
new com.google.common.base.Function<VirtualFile, JetFile>() {
|
||||
@Override
|
||||
public JetFile apply(@Nullable VirtualFile file) {
|
||||
if (file == null || !ProjectFileIndex.SERVICE.getInstance(project).isInContent(file)) {
|
||||
if (file == null || !ProjectFileIndex.SERVICE.getInstance(project).isInSourceContent(file)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user