mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-20 13:31:28 +07:00
In runtime, navigation did not work for this example: `my<caret>Libs`.junit.jupiter Where myLibs is a name of a version catalog defined in settings.gradle. However, navigation would work if the caret is located on `junit`. The Interesting point is that `GradleVersionCatalogsResolveTest` has the test `testNavigationToTomlFile2` that covers this case. It was passing well because: - in runtime, references to version catalogs are resolving using the data from the Android module. The corresponding Psi elements - StaticVersionCatalogProperty are created in GradleExtensionsContributor.kt - in tests, references were resolved using the older approach which still works if android module does not provide version catalogs. It didn't because GroovyDslParser from the android module was not available in tests. Hence, reference was resolved using the GradleExtensionProperty PSI element created in GradleProjectExtensionContributor.kt Code review: IJ-CR-153925 (cherry picked from commit de4bcd81a61a3bc45119857357f43a8a21a75392) GitOrigin-RevId: a143eb4a149cea8cc549986023793912bd5c869d