IDEA打开文件提示the file too large: showing a read-only preview of the first 2.56M.(IDEA只显示前2.56M

IDEA 打开大于2.56M的文件时, 默认只显示前2.56M内容

这是IDEA对于内存使用的限制.

如果想要打开并完全显示较大文件时,可以进行如下配置:

打开 help -> edit custom properties选项(路径如上截图), 如果本机没有这个文件会提示要先创建,
点击create按钮之后在文件中添加如下语句(默认值2500即2.56m, 你也可以自己设置一个值, 单位是k)
idea.max.intellisense.filesize=999999

最后重启下IDEA即可
IDEA打开文件提示the file too large: showing a read-only preview of the first 2.56M.(IDEA只显示前2.56M_第1张图片

你可能感兴趣的:(IDEA打开文件提示the file too large: showing a read-only preview of the first 2.56M.(IDEA只显示前2.56M)