Re: [Pydev-users] keybinding for new_line+colon at EOL
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2012-12-17 09:47:58
|
On Mon, Dec 17, 2012 at 6:27 AM, K.-Michael Aye <kmi...@gm...>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 |