Tuesday, June 24, 2014

PyDev 3.6.0 released

PyDev 3.6.0 was just released.

The really major change in this release is that PyDev updated its internal Jython to the latest version, which also allowed PyDev to update its support to the latest pep8.py.

Also, following this, autopep8.py was also integrated (although it seems there's still an issue dealing with non-ascii files -- see: https://sw-brainwy.rhcloud.com/tracker/PyDev/402 for a workaround). Note that unlike pep8.py, autopep8.py doesn't really use the internal Jython (it runs based on the default configured Python interpreter). This is mostly because Jython was too slow when running it (annoyingly so in this use-case), so, there's only the option of running autopep8.py externally.

Also, some 'nice to have' features were added:

Shift+F9 will run the current editor directly in debug mode -- so, no need to Alt+R+G, 1-4 for that anymore :)

Also, when selecting a unit-test to run (Ctrl+F9), if Shift is pressed when the test(s) to run is selected, it'll also run in debug mode (previously it was almost mandatory to create a regular run selecting the tests, killing it and pressing F11 just to re-run the last test in debug mode).

Besides this, there were some bug-fixes (and for those using LiClipse: http://brainwy.github.io/liclipse, it's already updated with the latest PyDev version -- and now it supports launching for other languages and Julia support was added).


p.s.:  Thank you for all that are supporting the PyDev crowdfunding: https://sw-brainwy.rhcloud.com/support/pydev-2014/


Neil Walker said...

I'm really appreciating the work you've done and Eclipse is my preferred editor prior to use Python so it all fits together and makes things much more bearable.

Can I ask why the preferred pydev way is to create a 'src' root folder when every other site, person, blog states to stay clear of creating a 'src' folder?

Fabio Zadrozny said...

Hi Neil,

Actually, the default (and preferred way) is really 'Add project directory to the PYTHONPATH'.

You do have an option to create 'src' folder and add it to the PYTHONPATH in the new project wizard (but that's the 2nd option, not the 'default' -- although the create project dialog will persist the last option you selected, so, if you did select the create 'src' folder, that's what it'll present the next time).

In the past (in older PyDev versions), the create 'src' folder was indeed the default (but this has been changed quite some time ago).

Best Regards,