IntelliJ 9.0.3 refuses to index .java file as a class

Hi,

I have a very simple project with an auto-generated Java source file.  The problem is, it's not being 'recognized' by IntelliJ as a class file.  how do I know? Build completes fine, but in the IDE, any references to that class within the same package show up as 'symbol not recognized'.

The class is in the right package and properly generated.

I have two suspicions:

a) the file is large, 70K lines.  Does IntelliJ have a limit on how big a file it can deal with?

b) it's a WSDL -> Java, and compilation generates this warning:  Note: /home/greg/jive/zuora/sample/generated/axis2/src/com/zuora/api/axis2/ZuoraServiceStub.java uses unchecked or unsafe operations.  Could this be the reason it's not treating the file properly?  Doesn't seem like it should be any issue, the error is fairly common.

Any thoughts?

2 comments

Hi Greg,

Please complete minimal standalone project that illustrates the problem.

Regards, Denis

0

IntelliJ IDEA indeed has a file size limit. This limit is defined in the idea.properties in the bin directory of the InteliJ IDEA installation directory and looks like this:

idea.max.intellisense.filesize=2500
You might try if enlarging this value get you the behavior you need.

Bas

0

Please sign in to leave a comment.