快捷键 | 快捷键符号 | 英文名称 | 功能说明 |
---|---|---|---|
Command+/ |
⌘/ | Comment/uncomment with line comment | 单行注释 |
Command + Option + / |
⌘⌥/ | Comment/uncomment with block comment | 块注释,多行注释 |
Shift + Control + / |
⇧⌃/ | Comment/uncomment with block comment | 块注释,多行注释 |
/** + enter |
/** ↩ | Comment with method/class | 方法/类的说明注释,即文本注释 |
cc |
Class Comment | 类注释,自定义的 | |
mc |
Method Comment | 方法注释,自定义的 |
IntelliJ IDEA for Mac 在MacOS模式下的注释快捷键(Comment Shortcut)
猜你喜欢
转载自blog.csdn.net/liaowenxiong/article/details/120228754
今日推荐
周排行