Reputation: 21548
I would like to auto-fill a paragraph to 80 characters (or some other fixed width) in Eclipse. Is this possible via a keyboard command like in Emacs? Or is there maybe a plugin (I did not find anything on google)?
Edit: I am not sure if this is relevant, but I need this for docstrings in Python code (using the PyDev plugin).
Upvotes: 2
Views: 1434
Reputation: 25342
You can wrap the paragraph in Pydev with Ctrl+2+w (see Pydev keybindings at: http://pydev.org/manual_adv_keybindings.html)
Upvotes: 6
Reputation: 1500855
Highlight the text, then press Ctrl-Shift-F, or open the context menu and select Source / Format.
Upvotes: 2