The last couple of weeks, whenever I start Intellij I see a lot of code which is underlined and the only thing which helped so far is to invalidate cache & restart. So I basically do this every morning. Are others experiencing this as well? Is it a known bug and maybe a workaround better than invalidating the cache is available?
c
christophsturm
05/19/2021, 8:48 PM
2021.1.1 fixed that for me.
r
robstoll
05/19/2021, 8:48 PM
unfortunately not for me 😞
c
christophsturm
05/19/2021, 8:49 PM
are you using the bundled plugin or the 1.5 plugin? i think the bundled plugin works better
christophsturm
05/19/2021, 8:50 PM
anyway it cant hurt to create an issue.
r
robstoll
05/19/2021, 8:50 PM
the bundled plugin. Maybe I should report the error I get, maybe it is a new problem
robstoll
05/19/2021, 8:56 PM
Must be a new problem, invalidating cache does no longer work.
It looks like the problem is related to:
https://youtrack.jetbrains.com/issue/KT-22458
just that compiling with gradle works all fine, it's only intellij's problem. If I remove the DslMarker then those red lines vanish