gpt4 book ai didi

intellij-idea - IntelliJ 无法显示大文件?

转载 作者:行者123 更新时间:2023-12-03 15:37:24 25 4
gpt4 key购买 nike

我的文本文件是 1.58G,我的 IntelliJ 自定义 VM 选项设置为“-Xmx4G”。为什么会显示

"The file is too large; 1.58G. Showing a read-only of the first 2.56M".

最佳答案

idea.properties文件 contains IntelliJ IDEA 可以处理的文件的默认限制:

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE should provide code assistance for.
# The larger file is the slower its editor works and higher overall system memory requirements are
# if code assistance is enabled. Remove this property or set to very large number if you need
# code assistance for any files available regardless their size.
#---------------------------------------------------------------------
idea.max.intellisense.filesize=2500

#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE is able to open.
#---------------------------------------------------------------------
idea.max.content.load.filesize=20000

这些可以使用 Help 更改| 编辑自定义属性 .

关于intellij-idea - IntelliJ 无法显示大文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45681019/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com