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

0
Avatar
Permanently deleted user

I will implement it.


Timur

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user
0

请先登录再写评论。