把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
然后重啟問題解決。
