且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

文件大小超过配置的限制(2560000),代码洞察功能不可用

更新时间:2023-08-20 09:24:52

在IntelliJ 2016及更新版本中,您可以从帮助菜单编辑自定义属性(由@eggplantbr评论)更改此设置。

In IntelliJ 2016 and newer you can change this setting from the Help menu, Edit Custom Properties (as commented by @eggplantbr).

在旧版本中,没有GUI可以执行此操作。但是如果你编辑IntelliJ IDEA平台属性文件:

On older versions, there's no GUI to do it. But you can change it if you edit the IntelliJ IDEA Platform Properties file:

#---------------------------------------------------------------------
# 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