本文介绍了文件大小超过配置的限制(2560000),代码洞察功能不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用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:

如何增加配置限制才能访问所有功能?

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可以执行此操作。但是如果你文件:

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),代码洞察功能不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 05:48