Monday, 1 June 2020

Intellij Idea can't resolve generated class

It was really annoying issue, we had some maven plugin that generates classes from some schema, and for some reason Intellij Idea cant resolve this class. It just marks it with red. The reason was too big file size i've increased it like this:

# Maximum file size (kilobytes) IDE should provide code assistance for.
idea.max.intellisense.filesize=6000

# Maximum file size (kilobytes) IDE is able to open.
idea.max.content.load.filesize=6000

in Help > Edit Custom Properties

and then File > Restart & invalidate

No comments:

Post a Comment