Recently, typing python code in PyDev editors became extremely slow. Slow to the point that after typing a function name I have to wait to see letters appear one after another over several seconds. Even inside comments and strings. Other editors are fine.
I tried suggestions in other questions like disabling automatic building but got no effect.
Restarting Eclipse does not resolve the problem but after a reboot the situation is better.
I'm running PyDev 3.9.2/Eclipse 4.4.2 with Oracle Java 1.8 64bit on CentOS 7. Eclipse is started with -Xms512m
and -Xmx2048m
. The System is an old Intel Core i7 with 8GB Ram.
I appreciate any suggestions to find the problem cause.
Update: Still have the same issue with PyDev v4.1. I filed a bug report on the PyDev issue tracker: ID 582
Update 2: The bug was fixed in PyDev v4.2.
Go to the menu: Alt + R + S + The number of the Run you wish (It can be Python, Jython, unit-test, etc). Note: if you were using unit-tests, you could use: Ctrl+F9 to run the unit-tests from the module (and even selecting which tests should be run -- and if Shift is pressed it's launched in debug mode).
Although auto-indentation is not a feature of PyDev because of the language design you should be able to indent with a simple tab. Just select the lines you want to indent and press Tab. If you want to unindent lines you have to press Shift+Tab. Thats all.
PyDev is a plugin that enables Eclipse to be used as a Python IDE (supporting also Jython and IronPython).
Ok, it seems that different reasons can cause it, but turning off vertical guidelines solved it for me:
Preferences -> PyDev -> Editor -> Vertical Indent Guide -> Show vertical indent guide set to False
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With