Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 793
talha06 Avatar asked Dec 23 '12 11:12

talha06


People also ask

How do I change a read only file in IntelliJ?

To toggle read-only attribute of a file, open file in the editor, or select it in the Project tool window. Do one of the following: On the main menu, choose File | File Properties | Make File Read-Only , or Make File Writable .

Where can I find idea properties file?

properties file in the bin directory in IntelliJ IDEA's installation directory. The default location is C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 10.5. 1/bin.


2 Answers

Nowadays the setting

idea.max.intellisense.filesize=50000

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

like image 196
E.Egiazarov Avatar answered Sep 30 '22 04:09

E.Egiazarov


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

like image 37
Paul Richards Avatar answered Sep 30 '22 04:09

Paul Richards