PyCharm:键入每个单词后,会有一个无法键入的延迟 [英] PyCharm: After each word is typed, there is a delay where one is unable to type

查看:199
本文介绍了PyCharm:键入每个单词后,会有一个无法键入的延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在PyCharm(JetBrains)中,我在输入完整语句而没有中断的情况下遇到了麻烦。我最初认为这是由于我没有更新软件,所以我更新了它,但是问题仍然存在。

In PyCharm (JetBrains), I have been having trouble with typing full statements without getting an interuption. I first thought it was due to me not having updated the software, so I updated it, but the problem remains.

因此,如果我输入任何语句或单词,PyCharm似乎在我继续之前延迟。例如:

So if I type any statement or word, PyCharm seems to delay before I can proceed. An example:

import csv

甚至在我完成键入导入之前-如果我延迟了击键-PyCharm就开始思考并且该窗口在大约一到两秒钟内无法访问(按字面意义)。我认为它会给我建议或显示有关代码的提示/错误。

Even before I finish typing "import" - if I delay a keystroke - PyCharm begins to "think" and the window is not accessible for about one to two seconds (quite literally). I assume it is going to give me suggestions or show a tip/error about the code.

有什么想法可以防止这种情况的发生?

Any thoughts to prevent this from happening?

编辑:


  • Windows 8.1; PyCharm 2016.2

  • 通过设置->编辑器->常规->代码完成关闭了代码完成,但没有解决问题。

  • Windows 8.1; PyCharm 2016.2
  • Code Complete turned off via Settings->Editor->General->Code Completion, but did not solve problem.

关键PC规格:


  • Intel Core i5-337U

  • 4GB Ram

  • 64位

Edit2:
我现在运行任何命令时都收到此错误,包括简单的print( test):
进程结束,退出代码为-1073741511(0xC0000139)
将问题分隔到其他地方,

I receive this error when I run anything now, including simply print("test"): Process finished with exit code -1073741511 (0xC0000139) Will separate the question somewhere else, since this may be a separate problem altogether.

推荐答案

尝试禁用代码完成。我相信您的计算机无法足够快地搜索所有Python库,因此冻结了一段时间。

Try disabling code completion. I believe that your computer can't search through all of Python's librarys fast enough so it freezes for a bit.

这篇关于PyCharm:键入每个单词后,会有一个无法键入的延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆