Thursday, February 03, 2011

Pydev 1.6.5 released

Pydev 1.6.5 is already available for download.

The major features added in this released where:

1. Code generation for classes and methods

* It's now possible to select a given token and press Shift+Alt+S C to create a class for it or Shift+Alt+S M to create a method

* In some undefined variable, do Ctrl+1 and select create method or create class.

Note that this is an initial implementation of the idea, aimed as those that use a TDD (Test Driven Development) approach, so, one can create the test first and generate the classes/methods later on from using shortcuts or quick-fixes (which is
something that those using JDT -- Java Development Tools -- in Eclipse should be already familiar with). This feature should be already usable on a number of situations but it's still far from being 100% complete.

2. Syntax highlighting is now available for (), [], {} and operators.

Aside from those, a number of bug-fixes were also made available (particularly nasty was a bug that prevented the interactive console from working with some of the Python 3.x versions).


brad clements said...


I am a long time pydev user, and rely on it every single day.

Lately I am using eclipse's RSE/TME tools to remotely edit files via an rseserver.

Pydev has some problems editing remote .py files. I don't expect pydev to be able to do much with remote files, but it would be nice if it could function as a basic editor w/o the errors it currently generates.

For example whenever it tries to do code completion (to suggest function call args, for example), I get a NullPointerException when editing a remote file.

Would you be able try out rse/tme to remotely edit files using Pydev? You'll see what I mean.

I'll try to paste the stack trace below. I am using on helios sr 1 20100917-0705

at org.python.pydev.editor.PyEdit.getEditorFile(
at org.python.pydev.editor.codecompletion.PythonCompletionProcessor.computeCompletionProposals(
at org.python.pydev.editor.simpleassist.SimpleAssistProcessor.computeCompletionProposals(
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(
at org.eclipse.jface.text.contentassist.ContentAssistant$
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
at org.eclipse.swt.widgets.Display.runAsyncMessages(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(

Fabio Zadrozny said...

Hi Brad,

Sure, I can take a look (shouldn't be hard to make it work) could you open a bug report for that in the Pydev bug tracker with that report (

Also, I know RSE stands for the Remote System Explorer, but what's TME? Or that's all the same thing? i.e.:

brad clements said...

sorry I haven't filed a bug report yet, I've been sick. I'll file it soon.


yonix said...

Fabio, just tried the new release.
I can see some unresolved import problems were solved, and the Ctrl+1 for generating method/class is amazing and making TDD with pydev a real pleasure.

Keep up these great releases going!