# ---------------------------------------------------------------------
# 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 should provide code assistance for.
idea.max.intellisense.filesize=60000
# Maximum file size (kilobytes) IDE is able to open.
idea.max.content.load.filesize=60000
# ---------------------------------------------------------------------
# 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
1.文件->失效/重启->重启
这有时可能不会更新,您可能需要编辑根idea.properties文件。
要为任何版本的IDEA编辑此文件
1.转到应用程序位置,即linux=>/opt/PhpStorm[版本]/bin 1.找到名为idea.Properties的文件,对该文件进行备份,即idea.Properties.old 1.使用任何txt编辑器打开原始文档。 1.找到idea.max.intellisense.filesize= 1.替换为idea.max.intellisense.filesize=your_required_size,即idea.max.intellisense.filesize=10480``NB by default this size is in kb 1.保存并重新启动IDE。
# ---------------------------------------------------------------------
# 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=10000
#---------------------------------------------------------------------
# Maximum file size (kilobytes) IDE is able to open.
#---------------------------------------------------------------------
idea.max.content.load.filesize=100000
11条答案
按热度按时间mqkwyuun1#
在IntelliJ 2016和更高版本中,您可以从帮助菜单编辑自定义属性(由@eggants br注解)来更改此设置。
在较旧的版本上,没有图形用户界面来完成这项工作。但您可以更改它,如果您edit the IntelliJ IDEA Platform Properties文件:
pjngdqdw2#
这是基于阿尔瓦罗·冈萨雷斯的回答,以及如何在Mac上增加IntelliJ Idea中的IDE内存限制?
转到帮助>编辑自定义属性
添加:
重新启动IDE。
gev0vcfq3#
编辑IDEA:
IDEA_HOME/bin/idea.properties
的配置文件保存并重新启动IDEA
q1qsirdb4#
转到IDE:
idea.max.intellisense.filesize= 999999999
yhuiod9q5#
PhpStorm 2020
1.帮助->编辑自定义属性。
1.文件将在编辑器中打开。将以下部分粘贴到文件中。
1.文件->失效/重启->重启
这有时可能不会更新,您可能需要编辑根idea.properties文件。
要为任何版本的IDEA编辑此文件
1.转到应用程序位置,即linux=>/opt/PhpStorm[版本]/bin
1.找到名为idea.Properties的文件,对该文件进行备份,即idea.Properties.old
1.使用任何txt编辑器打开原始文档。
1.找到
idea.max.intellisense.filesize=
1.替换为
idea.max.intellisense.filesize=your_required_size
,即idea.max.intellisense.filesize=10480``NB by default this size is in kb
1.保存并重新启动IDE。
4nkexdtk6#
Instructions for changing this settings in latest Jetbrains products
编辑Product64.vmtions对我不起作用,但编辑idea.Properties很好。此外,为了能够处理大文件,您可能需要在Product64.vmOptions/Product.vm中更改-xms和-xmx的选项的值
knsnq2tg7#
针对64位2020版本
我试图找到2020版这个文件的当前位置,但没有成功。导航到
Help > Edit Custom Properties
时,将在appData/Roaming/JetBrains/IntelliJIdea2020.1/idea.properties
创建一个新(空)文件。没有一些教程所建议的/bin目录。然而,无论是将accepted answer中的块添加到此文件,还是将相同的文件添加到/bin中,都不会导致更新我的配置。我终于发现
appData/Roaming/JetBrains/IntelliJIdea2020.1/idea64.exe.vmoptions
中存在对相同属性的引用。它看起来是这样的:我将其更改为以下内容,应该足以满足我的需求:
这在我看来是这个版本中的一个错误,菜单项的行为并不反映需要什么,但也可能是因为我的特定设置与库存有某种不同。我确实安装了PyCharm和JDK。
x7rlezfr8#
要澄清Alvaro's答案,您需要将-D选项添加到命令行列表中。我使用的是PyCharm,但概念是相同的:
wbrvyc0a9#
对于那些不知道在哪里可以找到他们正在谈论的文件的人。在我的计算机(OSX)上,它位于:
/Applications/PyCharm CE.app/Contents/bin/idea.properties
/Applications/WebStorm.app/Contents/bin/idea.properties
nmpmafwu10#
*WebStorm的Windows默认安装位置:
C:\Program Files\JetBrains\WebStorm 2019.1.3\bin\idea.Properties
我去了
x4 default for intellisense
和x5 for file size
(我的商用工作站是一只野兽,不过:第八代i7,32 GB内存,NVMe PCIE3.0x4 SDD,幸灾乐祸等,幸灾乐祸等等)
6ovsh4lw11#
更改帮助菜单的上述选项对我不起作用。您已经编辑了idea.Properties文件,并更改为某个较大的no。