Is there a way to populate 'Favourites' from Gradl...
# intellij
d
Is there a way to populate 'Favourites' from Gradle configuration? Use case: Our project module structure enforces '_Clean architecture_' so that each major feature module contains a '_Presentation_', '_Domain_', and '_Service_' sub-module. While this has its benefits; a down-side is ergonomic navigation between files of the feature in the IDE, due to all the intervening
/src/main/kotlin
folder cruft etc. A code-defined, custom project view that presents the presentation/domain/service packages beside each other would resolve this problem. Favourite list provide a good enough User Experience, but AFAIK they can't be populated by Gradle code, so can't live alongside the code and be shared with the team. Any solutions?
e
Hi Chris, This sounds like a job for https://github.com/JetBrains/gradle-idea-ext-plugin I don't know if this use case is supported already but that plugin would be the right component to look at
👀 1
d
Oh great, I had reviewed the capabilities of this plugin but not the ext one.