I've lost Compose Documentation on IDEA. Any idea ...
# random
a
I've lost Compose Documentation on IDEA. Any idea how to get it back?
tumbleweed 1
e
Looks like sources are missing, maybe invalidate caches and reload the Gradle project
a
@Edoardo Luppi thanks! It worked. I invalidated all caches and restarted. Why does it work though?
e
The mysteries of the IntelliJ platform. We'll never know why indexes got corrupted.
a
i dont mind it breaking. im trying to understand how it works. is it the 'downloaded shared indexes' that were broken you think?
what do those indexes do
e
is it the 'downloaded shared indexes' that were broken you think?
No I don't think so. Sometimes the "link" between an artifact (e.g., a jar or klib file) and its sources go missing. That's the part I still can't explain to myself. Removing the cache - which lets the IDE re-index all available files - and re-opening the IDE fixed the attached sources.
Shared indexes are another thing entirely. They basically avoid wasting your time for indexing locally, by providing pre-built indexes.
Personally, I never use shared indexes.