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

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

Comment actions Permalink

I will implement it.


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


Please sign in to leave a comment.