IDEA中多行注释的快捷键 逃离我推掉我的手 2022-05-10 02:40 601阅读 0赞 ## IDEA中多行注释的快捷键(Intellij) ## 选中需要注释的区域,按如下操作: <table> <thead> <tr> <th>表现形式</th> <th>快捷键/</th> </tr> </thead> <tbody> <tr> <td>a:每行都有一个注释符号</td> <td>Ctrl+/</td> </tr> <tr> <td>b:只有开头和结尾有注释符号</td> <td>Ctrl+Shift+/</td> </tr> </tbody> </table> a的情形:(**Ctrl+/**) // ThreadA ta=new ThreadA(); // ta.setPriority(10); // ta.start(); b的情形:(***Ctrl+Shift+/***) /\* ThreadA ta=new ThreadA(); ta.setPriority(10); ta.start();\*/
还没有评论,来说两句吧...