19

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..

Makoto
  • 104,088
  • 27
  • 192
  • 230
talha06
  • 6,206
  • 21
  • 92
  • 147
  • 2
    Any solution ever found for this problem? Running into the same error myself. I even set the file to be plain text and it still won't open. – joe Jan 18 '13 at 18:37
  • no solution is found; seems it's not supported yet despite this parameter. – talha06 Mar 01 '13 at 22:45

3 Answers3

11

Nowadays the setting

idea.max.intellisense.filesize=50000

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

E.Egiazarov
  • 851
  • 9
  • 6
8

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

idea.max.content.load.filesize=500000 #500MB
SUPERCILEX
  • 3,929
  • 4
  • 32
  • 61
6

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

Paul Richards
  • 673
  • 8
  • 7