Eclipse comment/uncomment shortcut?

前端 未结 17 1281
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 16:23

I thought this would be easy to achieve, but so far I haven\'t found solutions for comment/uncomment shortcut on both Java class editor and jsf faceted we

17条回答
  •  臣服心动
    2020-11-30 17:07

    You can toggle the comment on one line or selection by using the shortcut Ctrl + / This adds/removes the // infront of the code line

    You can block comment /* */ using the Ctrl + Shift + / eclipse shortcut

    You can find a complete list of useful eclipse shortcuts here http://javatutorial.net/eclipse-shortcuts

提交回复
热议问题