简体   繁体   English

如何在pycharm的调试控制台中关闭代码完成?

[英]How to turn off code completion in debugging console in pycharm?

Pycharm code completion is fine in code editor, but rather slow in debugger console. Pycharm代码完成在代码编辑器中很好,但是在调试器控制台中则很慢。 It always hangs for quite a while (up to minutes) after typed in the first letter after a variable of sort (say pandas dataframe). 在排序变量(例如pandas dataframe)后的第一个字母中键入后,它总是会挂一段时间(最多几分钟)。

Is there a way to turn that off in debugger console only? 有没有办法仅在调试器控制台中将其关闭? I know it can be turned off completely in settings, but what I want is to turn off in debugger console only, as it works pretty well in code editor. 我知道可以在设置中将其完全关闭,但是我只想在调试器控制台中将其关闭,因为它在代码编辑器中可以很好地工作。

There's an option in 2018.2 EAP to switch variable loading policy to "On-demand". 2018.2 EAP中有一个选项可以将变量加载策略切换为“按需”。 This should fix the console slowness in the first place: 首先应该解决控制台慢的问题:

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM