用 PyCharm 打开较大文本的时候,出现提示File size exceeds configured limit (2560000), code insight features not available,是因为IDEA对能关联的文件大小做了限制,主要是为了保护内存,默认值为2500kb。解决方法如下:

方法一:

在 PyCharm 安装目录的 bin 目录下,新建 idea.properties 文件,并在文件中添加一行

# custom PyCharm properties

idea.max.intellisense.filesize=99999
方法二:

打开 PyCharm ,点击 Help-->Edit Custom Properties,在文件中添加

idea.max.intellisense.filesize=99999

添加好后,重启 PyCharm 即可。
在这里插入图片描述

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐