Skip to content

Commit 774d39b

Browse files
Plugin is not compatible with IntelliJ IDE 2022.3 #1466
Fix for GlobalSearchScope (IntelliJ API)
1 parent 8071809 commit 774d39b

File tree

1 file changed

+1
-1
lines changed
  • utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/models

1 file changed

+1
-1
lines changed

utbot-ui-commons/src/main/kotlin/org/utbot/intellij/plugin/models/BaseTestModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ open class BaseTestsModel(
100100
"org.springframework.boot.test.context.TestConfiguration",
101101
"org.springframework.context.annotation.Configuration"
102102
).mapNotNull {
103-
JavaPsiFacade.getInstance(project).findClass(it, project.allScope())
103+
JavaPsiFacade.getInstance(project).findClass(it, GlobalSearchScope.allScope(project))
104104
}
105105

106106
return annotationClasses.flatMap { annotation ->

0 commit comments

Comments
 (0)