[TOC]
主题切换
Preferences >>> Editor >>> Colors & Fonts
Scheme:
- Dracula (炫酷黑) [⭐️⭐️⭐️⭐️⭐️]
- Default (经典白) [⭐️⭐️⭐️]
显示相关
Preferences >>> Editor >>> Appearance
- Show line numbers (显示行号) [⭐️⭐️⭐️⭐️⭐️]
- Show whitespace (显示空白字符) [⭐️⭐️⭐️]
快捷键
- ⌘——Command ()
- ⌃ ——Control
- ⌥——Option (alt)
- ⇧——Shift
No. | shortcut key | type | detail(en) | detail(cn) | recommend |
---|---|---|---|---|---|
1 | |||||
2 | ⇧⌘U | edit | Toggle Case | 转换大小写 | ⭐️⭐️⭐️ |
3 | ⌥F7 | 查看方法或变量的调用 | ⭐️⭐️⭐️⭐️⭐️ | ||
4 | ⌃O | code | Override Methods | 重写父类方法 | ⭐️⭐️ |
5 | ⌃I | code | Implement Methods | 实现接口方法 | ⭐️⭐️ |
6 | ⌘N | code | Generate | 生成(get,set,构造方法等) | ⭐️⭐️⭐️⭐️ |
7 | ⌥⌘T | code | Surround With | 使用XX包围(if else, try catch, Runable等) | ⭐️⭐️⭐️⭐️ |
8 | ⌘+ | code | Expand | 展开代码 | ⭐️⭐️⭐️ |
9 | ⌘- | code | Collapse | 折叠代码 | ⭐️⭐️⭐️ |
10 | ⌘/ | code | Line Comment | 行注释 // | ⭐️⭐️⭐️⭐️⭐️ |
11 | ⌥⌘/ | code | Block Comment | 块注释 / / | ⭐️⭐️⭐️ |
⌥⌘L | code | Reformat Code | 格式化代码 | ⭐️⭐️⭐️⭐️ | |