Intellij IDEA中file size exceeds configured limit解决

把Hadoop源码导入IDEA中后,其中有个ClientNamenodeProtocolProtos文件代码高达82997行,IDEA直接就不把它当java类看了,报file size exceeds configured limit错误。

解决办法如下:

你可以尝试修改intellij IDE安装目录下的bin/idea.properties, 将其中的idea.max.intellisense.filesize=2500
改成大一些,比如
idea.max.intellisense.filesize=99999
然后重启问题解决。

原文地址:https://www.cnblogs.com/yuananyun/p/5215315.html