This two-day attempt to use idea found a problem with file size exceeds configured limit (2560000). Code Insight features not available.
Reason:
Idea on the size of the file can be associated with the limit, mainly to protect memory, the default value is 2500KB, for the general Java file is enough, but here I use protocbuf generated Java file too large, to reach more than 3M.
It is set in ... the Idea.properties file under the Jetbrains\intellij idea Community Edition 14.1.4\bin directory.
#---------------------------------------------------------------------# 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 siz e.#---------------------------------------------------------------------# idea.max.intellisense.filesize= 2500idea.max.intellisense.filesize=5000
Default value is 2500KB
Workaround:
Here I modify it to 5000kb, my maximum file size is more than 3M, solve the problem.
[Intellij Idea] File size exceeds configured limit