exyrion
exyrion

Reputation: 11

IntelliJ - Large File Unbearably Slow To Load

I am trying to load a big java file autogenerated by Thrift (around 240,000 lines, 7.5mb). I am getting an error message "File size exceeds configured limit (2560000). Code insight features are not available." Now I know I'm supposed to go to the idea.properties file and change the line

idea.max.intellisense.filesize=2500

to a big number. However, if I enable Code insight for this file, it is unbearably slow to load and to scroll. If I don't enable Code insight, my project will not recognize this file during compilation. Is there any way around this?

Upvotes: 1

Views: 653

Answers (1)

yole
yole

Reputation: 97308

Compile this file to a .jar and add the .jar file as a library to your project.

Upvotes: 1

Related Questions