[Pydev-users] [pydev - Users] Automatic Wrapping
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2006-10-10 00:46:35
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3955121 By: gmkrishn_uofc Is there a script out there which automatically wraps the code to say 80 columns. It should do the following * If I am currently typing in a comment and have gone beyond 80 columns, it should insert a new line, indent the appropriate number of spaces (found from context), a #. - This way I can just type in a 200 char comment, and would be automatically formatted to 80 char limit. * If I am currently typing in code and go beyond 80 chars, it should insert a new line at an appropriate location and indent appropriately a = f(a=1,b=4,c=6) should become (assuming 80 is replaced by a small number) a = f(a=1,b=4, c=6) Would appreciate any pointers regarding this. If such an option does not exist and it is easy to write one, any pointers to a similar code would be appreciated. While I know python, I have never written any scripts for PyDev (or even used Eclipse before) - Murali ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 |