The new version is out already.
Major in this release were: a bugfix related to zip files (in short, the PyDev indexes related to zips got corrupted, so, any attempt to use a zip file in the PYTHONPATH wouldn't work properly), some performance improvements and a bunch of bug-fixes.
Thursday, October 06, 2011
Tuesday, August 02, 2011
IPython & PyDev
In the current nightly build (see: http://pydev.org/download.html to get it), IPython can be used as the backend for the PyDev interactive console.
IPython is a Python shell that provides many improvements over the standard Python shell (more details may be found at http://ipython.org/ ).
To use it, install IPython (0.10.x or 0.11) in your Python interpreter (if you use easy-install, just do easy_install ipython), make sure that the IPython paths are properly added in your interpreter configuration inside of PyDev ( http://pydev.org/manual_101_interpreter.html ) and start up the interactive console in PyDev ( http://pydev.org/manual_adv_interactive_console.html ). If all is properly configured, the interactive shell should use IPython as the backend (if it's not found, it'll fallback to the standard PyDev shell and warn that IPython could not be found).
Another improvement in the shell is that the output for a long running command will now be printed while it's executing, and not only after it returns.
I'm waiting for feedback to know if there's something missing in the integration before a final release is provided with the integration...
IPython is a Python shell that provides many improvements over the standard Python shell (more details may be found at http://ipython.org/ ).
To use it, install IPython (0.10.x or 0.11) in your Python interpreter (if you use easy-install, just do easy_install ipython), make sure that the IPython paths are properly added in your interpreter configuration inside of PyDev ( http://pydev.org/manual_101_interpreter.html ) and start up the interactive console in PyDev ( http://pydev.org/manual_adv_interactive_console.html ). If all is properly configured, the interactive shell should use IPython as the backend (if it's not found, it'll fallback to the standard PyDev shell and warn that IPython could not be found).
Another improvement in the shell is that the output for a long running command will now be printed while it's executing, and not only after it returns.
I'm waiting for feedback to know if there's something missing in the integration before a final release is provided with the integration...
Thursday, July 14, 2011
Pydev 2.2.1 released
This was mainly a bug-fix release, but there were a couple of niceties added there:
1. The Quick Outline (Ctrl+O on editor) can now show the information from parents in the hierarchy (press Ctrl+O to toggle).
2. The extract local refactoring has an option to replace duplicates.
The full details may be seen at http://pydev.org
1. The Quick Outline (Ctrl+O on editor) can now show the information from parents in the hierarchy (press Ctrl+O to toggle).
2. The extract local refactoring has an option to replace duplicates.
The full details may be seen at http://pydev.org
Monday, June 27, 2011
PyDev 2.2.0 released
It's out already.
This release is the first to add support for Eclipse 3.7 (which has just been released too).
The major feature added was the exception breakpoints handling (so, it's now possible to stop the debugger on caught or uncaught exceptions -- the UI for it may be accessed at the menu Run > Manage Python Exception Breakpoints).
The debugger should also be a bit faster (and some bugs related to multithreaded debugging were fixed).
For those using Django, some utilities were added so that it's possible to easily do a (remote) debug session with auto-reload enabled (see details at: http://pydev.org/manual_adv_remote_debugger.html#django-remote-debugging-with-auto-reload)
And as usual, a bunch of minor bugs were also fixed.
This release is the first to add support for Eclipse 3.7 (which has just been released too).
The major feature added was the exception breakpoints handling (so, it's now possible to stop the debugger on caught or uncaught exceptions -- the UI for it may be accessed at the menu Run > Manage Python Exception Breakpoints).
The debugger should also be a bit faster (and some bugs related to multithreaded debugging were fixed).
For those using Django, some utilities were added so that it's possible to easily do a (remote) debug session with auto-reload enabled (see details at: http://pydev.org/manual_adv_remote_debugger.html#django-remote-debugging-with-auto-reload)
And as usual, a bunch of minor bugs were also fixed.
Monday, June 20, 2011
Override/implements templates on PyDev
One thing I miss when working on Python is a way to let people know when some method is overridden (and having it raise an error if it's not)... I'm thinking about adding a decoration for that in PyDev (and probably a way to navigate to the super with that implementation), so, that'll work when using PyDev, but still, many times I look to the source code outside of PyDev (i.e.: review board, github, etc), and to sort that out, what I'm currently using is the following:
1. Create overrides (for when a method is overridden from a subclass) and implements (to indicate that some method conforms to an interface, even if not actually overriding a method) decorators as follows:
2. Create templates (in PyDev) as follows:
Name: overrides
Description: @overrides
Pattern: @overrides(${superclass}.${next_class_or_method})
Name: implements
Description: @implements
@implements(${interface_class}.${next_class_or_method})
3. Use it in your code:
To use it, just start typing 'overrides' before a 'def method' and apply the completion (and it should complete the class/method properly on overrides -- for the implements, the name of the implementing class will still be needed later on).
1. Create overrides (for when a method is overridden from a subclass) and implements (to indicate that some method conforms to an interface, even if not actually overriding a method) decorators as follows:
2. Create templates (in PyDev) as follows:
Name: overrides
Description: @overrides
Pattern: @overrides(${superclass}.${next_class_or_method})
Name: implements
Description: @implements
@implements(${interface_class}.${next_class_or_method})
3. Use it in your code:
To use it, just start typing 'overrides' before a 'def method' and apply the completion (and it should complete the class/method properly on overrides -- for the implements, the name of the implementing class will still be needed later on).
Subscribe to:
Posts (Atom)