问题
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.
So if I type any statement or word, PyCharm seems to delay before I can proceed. An example:
import csv
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?
Edit:
- Windows 8.1; PyCharm 2016.2
Code Complete turned off via Settings->Editor->General->Code Completion, but did not solve problem.
Key PC Spec:
- Intel Core i5-337U
- 4GB Ram
- 64-bit
Edit2: 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.
回答1:
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.
来源:https://stackoverflow.com/questions/40400740/pycharm-after-each-word-is-typed-there-is-a-delay-where-one-is-unable-to-type