talha06
talha06

Reputation: 6466

IntelliJ Idea 12 - Java file is too large for editor

Getting "file x.java is too large for IntelliJ Idea editor" after trying to open a web service stub class that is generated for Axis 2.

I saw a post associated about this issue which says change the

idea.max.intellisense.filesize=2500

in idea.properties.

But this trick didn't work for me despite I increased the value enough. Also I tried to comment out it for disabling this feature; but it didn't work too..

Upvotes: 20

Views: 13139

Answers (3)

SUPERCILEX
SUPERCILEX

Reputation: 4007

If you just want IntelliJ to open the full file instead of truncating it, use this:

idea.max.content.load.filesize=500000 #500MB

Upvotes: 8

E.Egiazarov
E.Egiazarov

Reputation: 931

Nowadays the setting

idea.max.intellisense.filesize=50000

works perfectly for me and lets me open files of up to 50M size.

Upvotes: 11

Paul Richards
Paul Richards

Reputation: 683

My issue is that the file was > 20mb. See this link: http://youtrack.jetbrains.com/issue/IDEA-85045

Upvotes: 6

Related Questions