A keyboard shortcut to comment/uncomment the select text in Android Studio

后端 未结 9 1363
鱼传尺愫
鱼传尺愫 2021-01-31 13:48

How do I comment out several lines of text selected in the IDE with a control key combination?

I thought that Ctrl + Alt + C was the cor

9条回答
  •  余生分开走
    2021-01-31 14:13

    To comment/uncomment one line, use: Ctrl + /.

    To comment/uncomment a block, use: Ctrl + Shift + /.

提交回复
热议问题