在MAC IDEA中,导入二十多万代码的文件,出现了如下问题:

File size exceeds configured limit (2560000). Code insight features not available

  

原因:IDEA对能关联的文件大小做了限制,主要是为了保护内存,默认值为2500kb,对于一般的java文件也够用了

解决的方法:

(1)打开Mac IDEA界面,如下: 

 在MAC IDEA中出现如下File size exceeds configured limit (2560000). Code insight features not available问题的解决


(2)打开右下角的Configure,选择Edit Custom Properties:

在MAC IDEA中出现如下File size exceeds configured limit (2560000). Code insight features not available问题的解决


(3), 打开后,往里面填写如下内容,然后点击保存:

idea.max.intellisense.filesize=99999

在MAC IDEA中出现如下File size exceeds configured limit (2560000). Code insight features not available问题的解决


(4) 点击保存,重启IDEA, 就可以正常运行代码了






 

相关文章: