Sunday, March 27, 2011

PyDev 2.0

First the latest news: PyDev 2.0 is released.

The main features introduced are:

* TDD actions similar to those available in the Eclipse Java Development Tools (i.e.: create class, method, field, module with Ctrl+1 quick fixes);

* Code-coverage support has improved a lot (note that it relies on having the coverage module from http://nedbatchelder.com/code/coverage/ installed).

The full release notes may be found at: http://pydev.org

Click the image below to see a short video showing these additions -- among a few other things that can be handy for those aiming to be productive using PyDev...

PyDev 2.0

Unfortunately I couldn't be at PyCon to represent PyDev this year -- where there was a panel on Python IDEs -- so, at least I got to do a video with the presentation I'd do there :)

Another nice thing is that PyDev won the “Best Developer Tool” award from the Eclipse Foundation!

10 comments:

  1. Any word when this update will be available for aptana studio 3 beta?

    ReplyDelete
  2. The idea is that it'll be available later this week.

    ReplyDelete
  3. Anonymous6:51 AM

    Any tutorial on getting coverage to work? I'm on Windows, Python 2.7, with the coverage module installed in site-packages. I don't have either of the two icon's in the lower right corner that the screencast clicked on to start coverage.

    ReplyDelete
  4. Still working on the docs, but the idea is the following:

    Show the coverage view: window > show view > code coverage results view

    Then click on the check to enable any launch to run with the coverage (in the coverage view) and then do a launch.

    You can do launches doing:

    Press Ctrl+F9 to launch the current editor as a unit-test.

    Press F9 to run the current editor as a regular module.

    Right click a folder and select run as > python unit-test.

    p.s.: If you haven't already, it might be good to follow the getting started at: http://pydev.org/manual_101_root.html (it doesn't include the coverage, but does include the launching).

    ReplyDelete
  5. Hi, nice work. Could it be that guiqwt is not compatible with pydev2.0 ? I can't get this to work in my pydev2.0 setup.
    http://packages.python.org/guiqwt/examples.html
    Can you ?
    Thanks,
    Arthur

    ReplyDelete
  6. Congratulations - this is an excellent and important tool.

    ReplyDelete
  7. @ArtDijk: What exactly is not working? (please answer at http://sourceforge.net/forum/forum.php?forum_id=293649 as that's a better place to ask this)

    ReplyDelete
  8. congrats! (from the VS/Pytools team)

    ReplyDelete
  9. if Aptana Studio 3 is used, PyDev cannot be installed or update separately, as it must always be updated as a whole

    As I understand:
    1) PyDev nightly builds are not available for Aptana?
    2) After release we must wait for Aptana maintainer to update release in Aptana repo

    ReplyDelete
  10. @Pavel yes, the Aptana Studio releases have their own dates, so, it's possible that they are older, however, there's also a nightly build for Aptana Studio which will include the PyDev nightly build... To get it, follow the instructions at:

    http://wiki.appcelerator.org/display/tis/Changing+the+Update+Type

    ReplyDelete