Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5413858
By: boris_g

Hello,
Is there a possibility to auto-indent multiline comments?
For example, let's say I'm to indent lines in the following code:

def f():
    print "f function",
    comment 1
    comment 2
    print "ended"

I'm selecting the two "comment" lines and hit Ctrl-3 (Source -> Comment code).
I get the following:


def f():
    print "f function",
#    comment 1
 #   comment 2
    print "ended"


while I want:


def f():
    print "f function",
    # comment 1
    # comment 2
    print "ended"


In addition it would be nice if PyDev would detect multi-line comment as it
is types and added the "#" sign every time enter is pressed.

Thank you



______________________________________________________________________
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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to