I’m running into trouble with Compose Desktop and ...
# compose-desktop
c
I’m running into trouble with Compose Desktop and IntelliJ 2021.1.1 and compose 0.4.0-build188. I’ve got multiple modules: common (for view models), ui (for compose desktop UI), and app (just the build script parts to launch platform-specific apps). The app builds and runs fine. But within IntelliJ looking at code in the ui module, it won’t recognize things from the common module or from the compose libraries for autocomplete or command-click. So it makes working very frustrating. The IDE is happy in the common and app modules. It seems like a bug although I don’t know how to narrow down any further so that I can report an issue. Ideas?
I finally resolved the issue by doing
git clean -fX
to nuke the .idea directory. When it re-imported the Gradle project, that resolved the issue.