julian
01/20/2023, 8:28 PMarrow-fx-coroutines
.
But I always get Cannot find declaration to go to
when I try to navigate to a symbol's declaration in IntelliJ.
I'm wondering if I set up the project incorrectly.
I imported the build.gradle.kts
that's in the root directory arrow
into IntelliJ. Should I have done something different?
In IntelliJ, I'm also getting compiler errors in DeadlockTest.kt
, EitherJvmTest.kt
, EvalJvmTest.kt
, NonFatalJvmTest.kt
, and JvmGenerators.kt
.
These are the ones in DeadlockTest.kt
, for example:
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:16:15
Kotlin: Unresolved reference: Validated
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:18:15
Kotlin: Unresolved reference: Validated
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:30:15
Kotlin: Unresolved reference: Either
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:32:15
Kotlin: Unresolved reference: Either
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:44:15
Kotlin: Unresolved reference: None
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:46:15
Kotlin: Unresolved reference: Some
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:58:15
Kotlin: Unresolved reference: Ior
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:60:15
Kotlin: Unresolved reference: Ior
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:72:15
Kotlin: Unresolved reference: Eval
/Users/bayo/dev/arrow_fork_3/arrow-libs/core/arrow-core/src/jvmTest/java/arrow/core/DeadlockTest.kt:74:15
Kotlin: Unresolved reference: Eval
Any suggestions on how to get IntelliJ to behave correctly? I'm flying blind without IDE support as I make changes.
Thanks!raulraja
01/22/2023, 11:15 AMarrow
folder. Then it will ask you about having found the gradle scripts and if you want to import them.raulraja
01/22/2023, 11:16 AM./gradlew clean test
Do those test compile?raulraja
01/22/2023, 11:17 AMjulian
01/22/2023, 6:48 PM./gradlew clean test
succeeds, and there are no compiler errors.
I also installed IDEA EAP and a second instance of the release version IDEA and had the same problem with both as the first instance of IDEA.
I noticed that none of the directories in the Project Structure dialog any of the three instances of IDEA are marked as Sources. I've attached a screenshot of one.
Then I tried opening the project in Android Studio. The IDE assistance works as expected and hoped for. And the project builds without errors. 🥳
Interestingly, the Modules pane of Android Studio's Project Structure dialog is blank. See the second screenshot.
Do any contributors use IDEA? Or is everyone who uses IntelliJ using Android Studio?raulraja
01/22/2023, 7:24 PMjulian
01/22/2023, 7:44 PMraulraja
01/22/2023, 7:48 PM