Intellj IDEA 에서 java 파일의 크기가 너무 클 경우 컴파일이 안되는 경우가 있다.

그럴 경우에는 아이콘이 다음과 같이 나타난다.

이럴 경우에는 idea.properties 파일의 idea.max.intellisense.filesize 의 값을 늘려주자.

idea.properties
#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=25000

기본값은 2500 이며, 필요한 크기만큼 늘려준다.


Idea.properties

idea.properties 파일은 ${INTELLIJ_HOME}/bin 디렉토리에서 찾을 수 있다.

예로 Win7(64bit) 의 경우엔 C:\Program Files (x86)\JetBrains\IntelliJ IDEA 12.1.6\bin 이다.

None 
     Edit Labels


    + Recent posts