我试图在Jetbrains WebStorm 8中处理一个大型Javascript文件,我在编辑窗口顶部收到一条消息,说:
文件大小超过配置限制(2560000)。代码洞察特性不可用。
如何增加“配置限制”以访问所有功能?
我试图在Jetbrains WebStorm 8中处理一个大型Javascript文件,我在编辑窗口顶部收到一条消息,说:
文件大小超过配置限制(2560000)。代码洞察特性不可用。
如何增加“配置限制”以访问所有功能?
当前回答
对于那些不知道在哪里找到他们正在谈论的文件的人。在我的机器(OSX)上,它在:
PyCharm CE: /Applications/PyCharm CE.app/Contents/bin/idea.properties WebStorm: / / WebStorm.app /内容/ bin / idea.properties应用
其他回答
这是建立在Álvaro González的答案和如何增加IDE内存限制IntelliJ IDEA在Mac上?
进入帮助>编辑自定义属性
Add:
idea.max.intellisense.filesize=999999
重新启动IDE。
从帮助菜单中更改上述选项对我不起作用。 你有编辑的想法。属性文件,并更改为一些大的没有。
MAC: /Applications/<Android studio>.app/Contents/bin[Open App contents]
Idea.max.intellisense.filesize=999999
WINDOWS: IDE_HOME\bin\idea.properties
在IntelliJ 2016及更新版本中,您可以从帮助菜单中更改此设置,编辑自定义属性(由@eggplantbr评论)。
在较旧的版本中,没有GUI可以做到这一点。但是你可以修改它,如果你编辑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
进入IDE:
第一步:打开菜单项:点击帮助,然后点击编辑自定义属性 步骤2:设置参数:idea.max.intellisense.filesize= 999999999 步骤3:重新启动IDE
编辑IDEA的配置文件:IDEA_HOME/bin/ IDEA .properties
# 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
保存并重新启动IDEA