Comment Plugin

Is there a way to make the comment plugin place it's line comments at
the beginning of each line as opposed to in front of the first non space
character?

I edit python in IntelliJ pretty regularly, but I much prefer to see this:

  1. def snapshot( self, element ):

  2. # create a new snapshot instance

  3. snapshot = RuleScript.Snapshot()

#

rather than this:

#def snapshot( self, element ):

    1. create a new snapshot instance

#snapshot = RuleScript.Snapshot()
#

Thanks - Guy

3 comments
Comment actions Permalink

I will implement it.


Timur

0
Comment actions Permalink

BTW, you can do it now, though it will require making changes in the source and recompiling.

1. Find CommentTypeMap

2. Find


3. Change it to

0

Please sign in to leave a comment.