On Mon, Dec 17, 2012 at 6:27 AM, K.-Michael Aye <kmichael....@gmail.com>wrote:
> I'm sorry, if i define a new function, it of course works, but
> sometimes i decide in the middle of the
> line to make this a function. But I guess I am still using PyDev not
> correctly, as I guess this is possible with some of the refactor
> tricks..
>
There's no such shortcut, but it should be easy to add one with Jython
scripting.
You can base yourself in the example that converts an import to a string:
https://github.com/aptana/Pydev/blob/development/plugins/org.python.pydev.jython/jysrc/pyedit_import_to_string.py
May be worth reading the docs regarding scripting too:
http://pydev.org/manual_articles_scripting.html
Cheers,
Fabio
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users