Hello! I just downloaded repo <https://github.com/...
# fleet
p
Hello! I just downloaded repo https://github.com/Kotlin/KMP-App-Template/tree/amper And tried to open it through latest fleet (1.41.401) App builds, but indexing does not work How can I fix this? (I tried clearing the caches) logs attached
message has been deleted
I just noticed, that sometimes "Go to definition" works, but very rarely 😀
p
hi! Have you turned on the smart mode and waited till the end of project preflight checks? It took me around 3 minutes to get ready and it works now
p
hi! Have you turned on the smart mode and waited till the end of project preflight checks?
Yes, of course
👌 1
p
@vladsoroka could you please check? there are a lot of errors like
Cannot run project configurator fleet.gradle.FleetGradleProjectConfigurator
https://youtrack.jetbrains.com/issue/FL-30411 reported
👀 1
p
@Pavel Shnyakin I tried moving the project from "Downloads" to the folder where my other projects are and everything worked 🎉
thinking spinhead 1
🔥 1
p
yeah that's great, but we'll try to check the initial issue anyway
👍 1
btw @Pavel Shnyakin do you remember if Fleet asked for some permissions for the Downloads folders when you first tried to open the project?
p
I remember, there were no permissions requests
👌 2
v
@Pavel Shnyakin to help us further diagnose the issue, please, if you can: • Enable debug logging for VFS subsystem: Run
Configure Logging
action and append the following:
Copy code
[[logger]]
name = "com.intellij.openapi.vfs"
all = "DEBUG"
• Open project with reproducer, get the error again • Collect logs and send it to us.
p
Sure!
🙏 1
v
@Pavel Shnyakin thanks for logs! I’ve found a numbers of so called “vfs deleted” events (for
//Users/shpasha/Downloads/KMP-App-Template-amper-1
) in the traces, currently no glue what can be the reason other than physical file remove operations. Sorry for stupid question but anyway: is it possible that you or some process could remove(or recreate) that folder from you disk during the project opening in Fleet?
p
No, its not possible Just fyi, i tried opening this project in
Android Studio
and got permission request. Eventually everything works correctly
🙏 1
This is the same project
v
@Pavel Shnyakin please, check that Fleet App is allowed to access
Downloads folder
: • Choose Apple menu > System Settings, then click Privacy & Security in the sidebar. (You may need to scroll down.) • Click Files & Folders. • Find
Fleet
app in the list, turn the ability to access files and folders in
Downloads folder
on. Was it disabled? If yes, does it help if you enable it?
p
It's disabled
👌 1
Was it disabled? If yes, does it help if you enable it?
1 min
Yes, now it works!
v
Ok, thanks for confirmation
p
yeah that's why asked about it...
p
Buuut, not fully
Smart mode is started
v
Try manually run
Import Gradle project
action. It “thinks” that the project is up-to-date but actually because of access issue there is no project model on backend.
p
it seems to me, that external dependencies doesn't work
btw how to get rid of this trash 😄
p
thanks! > Try manually run
Import Gradle project
action didn't help, will try to clear caches..
p
also try this action
p
and one more question is it possible to set up multicarrets in fleet like in idea:
Opt+Opt+ArrowUp/Down
? i only managed to set it up like this:
Opt+Cmd+ArrowUp/Down
also try this action
Yea, now indexing works as i expected! Thank you for your help
cat thumbs 1
p
try Edit Keymap action and assign the shortcut you want or choose the ijIjdea keymap from settings
p
i did it
but
double opt
(opt + opt) doesn't work in keymap assigns
p
ah
ok I'll check if we have issue for that
thanks for bringing it!
😇 1