Hi all, has anyone got across a weird quirk where ...
# komapper
s
Hi all, has anyone got across a weird quirk where IntelliJ won't recognize the generated code from Komapper? My code currently works but IntelliJ errors with "unresolved reference" on the
Meta
object, and subsequent code is highlighted with errors, making it quite hard to work as the autocomplete goes kaboom. Any idea what the problem could be?
or it could rather be a problem of slow indexing? I see one entity got recognized now... Everything else is fast though, so it's not a general speed problem
d
Probably an indexing problem... I don't really have such problems... maybe try gradle clean and then gradle kspKotlin again if it still doesn't work after waiting for indexing.
You don't need to do a full build to generate the ksp classes, just run the ksp gradle task even if there's some errors in other classes in the project
s
thanks @dave08 that's a good shortcut to know
for the record, the problem is gone for now, it might have been just too many projects open and intellij starting to struggle
👍 1