https://kotlinlang.org logo
#fleet
Title
# fleet
g

Guilherme Delgado

11/08/2023, 9:46 AM
Hello guys! I gave it a little test and have some “pains”/doubts to share, is this channel the proper way to share them?
a

andrey.dernov

11/08/2023, 10:30 AM
Hi! Yes, sure, we will be grateful for your feedback. Thank you!
g

Guilherme Delgado

11/08/2023, 10:41 AM
Ok here it goes 😊 • Some classes deep links don’t work, either because the IDE throws an “unresolved reference” (mostly in Kotlin side) or “no definitions” and it simply doesn’t bridge some Swift-Kotlin or Swift-Swift. • Can I import keybindings? I doesn’t seem so, it’s painful. • Miss the build, rebuild and clean shortcuts. • Some run configurations are not created (desktopApp) • When no build-cache is available, it takes more time to compile a simple KMP project than AndroidStudio. After that is lightning fast.
Screenshot 2023-11-08 at 10.43.15.png,image.png
If you want to try the project is this https://github.com/GuilhE/Expressus
👀 1
It is not possible (a related request: FL-10312). What IDE did you use before? What keymap do want to have?
I started with eclipse, then moved to intellij and then Android Studio. So I have a history of my personal key mappings customised in this past 11 years 😅 . Fortunately I can import/export in AndroidStudio and Intellij. I would expect Fleet would support that too.
Could you, give some examples of not working navigation in this project for you, please?
Sure, first screenshot is an example,
ViewModels().expressusStateViewModel().asObservableObject()
,
.asObservableObject()
it’s an extension function in Swift. Fleet doesn’t understand that for some reason. But then, for instance
expressusStateViewModel()
, it understands and links to the shared module.
Inside the shared module (iosMain):
Screenshot 2023-11-08 at 12.00.49.png
I can’t navigate to
KoinComponent
because Fleet says it’s unresolved.
I have a lot of random situations like this in the project but it compiles and works
(i’ve done clean & rebuild, no luck)
a

andrey.dernov

11/08/2023, 12:04 PM
Thanks! It seems Fleet did not import the Gradle project properly, so there is a lot of unresolved code, which is likely the reason of navigation is not working. Have you tried to Reimport Gradle project (Goto → Action) and make sure the import process completed succesfully? Btw, does build complete succesfully?
g

Guilherme Delgado

11/08/2023, 12:06 PM
it does 🙂 BUILD SUCCESSFUL in 2s 314 actionable tasks: 7 executed, 307 up-to-date
let me try the gradle reimport
(I also miss the double shift action panel 😛 )
1
Gradle Reimport with no luck 😞
is there any cache i need to clear?
Another thing I don’t have with AndroidStudio/IntelliJ/Xcode (in common situations):
@andrey.dernov good news, so I’ve clean all possible caches 😅 , performed a clean build, rebuild
and now all links work great 😊
s

Stylianos Gakis

11/10/2023, 11:32 PM
Is there a "Repair IDE" task like there is in IntelliJ/AS lately? I found that quite convenient over there, and it seems like it would solve Guilherme's issue here too.
2 Views