Menu

#31 Comment/uncomment to use same shortcut key

open
nobody
None
5
2005-06-28
2005-06-28
No

Seems appropriate to do it this way: for both
comment/uncomment operations, always a Ctrl-3 key
combination is used. At time of user pressing Ctrl-3,
pydev code checks whether at least one line in the
selection already has a comment char, or not. If there
is one, then the action is uncommenting. If not -- the
reverse. (This is how the Java comment/uncomment
feature works and it seems fine.)

Discussion

  • Yassen Damyanov

    Yassen Damyanov - 2005-06-28
    • summary: Commend/uncomment to use same shrtcut key --> Comment/uncomment to use same shortcut key
     
  • Nobody/Anonymous

    Logged In: NO

    Hey! I will this "toggle comment" feature, too!
    I used SciTE and miss this!