快捷键 | 快捷键符号 | 英文名称 | 功能说明 |
---|---|---|---|
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)
最新推荐文章于 2025-03-24 10:50:05 发布