且构网

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

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

更新时间:2023-08-20 09:54:58

在 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