for some reason when using k2 if there is a syntax...
# intellij
g
for some reason when using k2 if there is a syntax error or something similar, intellij stops showing any error which makes it unusable. If i run gradle compile, the compiler will raise the errors, but nothing on the IDE Is there an open ticket for it?
a
Could you please share an example of "broken" code? Does `ctrl-A`/`del` /`undo` help?
g
i disabled the k2 mode, i will re enable it to reproduce. Syntax somehow works but for example i may have used classes that are not imported and they are not showing as errors
image.png
a
and if you delete the file text and then restore? Would it be highlighted correctly?
g
if i manual spawn the context actions, they spawn up NonExistingCredentials does not exist, but there is no feedback that it does not exist
another case of this that i can leave unhidden Some of the classes are not imported but there is no feedback for it. When i run the test, compilation breaks though.
a
And it stays unhighlighted, if you remove the file content, wait till in the right top corner and then restore? Or if you restart?
g
so if i do that again , the remains as it is, does not report errors
a
and restart doesn't help?
g
do you mean restarting the IDE?
a
yes, I'd like to understand if it's a persistent error or not
g
its happening frequently, across restarts (of ide, pc). I just invalidated the caches, lets see
thank you color 1
unfortunately still happening, had to turn off k2. Thanks though