intellij idea 出现 File size exceeds configured limit (2560000). Code insight features not available

谁借莪1个温暖的怀抱¢ 2022-06-07 02:22 345阅读 0赞

说明:
idea对能关联的文件大小做了限制,主要是为了保护内存,默认值为2500kb。
解决:
idea安装后的文件目录中进入bin,里面有一个文件idea.properties
修改这一行:

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

idea.max.intellisense.filesize=10000

发表评论

表情:
评论列表 (有 0 条评论,345人围观)

还没有评论,来说两句吧...

相关阅读