因为项目中有一个类有近10W行,文件大小超出了idea默认的。所以需要修改。
1.点击 Help --> Edit Custom Properties
2.填入 idea.max.intellisense.filesize=5500 大小填入合适的。