问题描述
我正在尝试在 Jetbrains WebStorm 8 中处理一个大型 Javascript 文件,我在编辑窗口的顶部收到一条消息:
I am trying to work on a large Javascript file in Jetbrains WebStorm 8 and I am getting a message at the top of the editing window that says:
文件大小超过了配置的限制 (2560000).代码洞察功能不可用.
如何增加配置限制"以访问所有功能?
How can I increase the 'configured limit' to get access to all features?
推荐答案
在 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
这篇关于文件大小超过配置的限制 (2560000),代码洞察功能不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!