【笔记】IDEA打开大文件报错

前言

IDEA打开大文件报错:The file size execeeds the configured limit(2.56 MB). Code insight features are not available.

原因

  • 文件过大,无法创建索引

解决问题

  • 修改配置,加大文件索引范围

  • Help->Edit Custom Properties,第一次打开可能会提示没有配置文件,需要点击create创建新配置文件

50000:这是一个较大的数作为文件索引最大范围

1
idea.max.intellisense.filesize=50000

完成

参考文献

CSDN——海若[MATRIX]