How to comment a block in Eclipse?

前端 未结 17 2125
一整个雨季
一整个雨季 2020-12-07 08:52

Does Eclipse have a hot key to comment a block? and to uncomment a block?

17条回答
  •  隐瞒了意图╮
    2020-12-07 09:29

    For Eclipse Editor

    For Single Line (Toggle Effect)

    Comment : Ctrl+Shift+c

    Uncomment: Ctrl+Shift+c

    For Multiple Lines (Toggle Effect) (Select the lines you want to comment)

    comment : Ctrl+Shift+c

    Uncomment: Ctrl+Shift+c

    It is for all html , css , jsp , java . It gives toggle effect.

提交回复
热议问题