mac系统下开发软件的快捷键
目录
1、idea
1、向上移动行(Move statement Up) / 向下移动行(Move Statement Down)
option + ↑
option + ↓
2、向下复制一行(Duplicate Lines)
option + command + ↓
3、delete
fn + 删除
4、删除一行(Delete Line)
command + d
5、进入方法 (Declaration)
ctrl + 鼠标左键
6、返回到光标之前的位置
option + command + ←
7、移动至某行
command + L
8、格式化代码
shift + command + f
9、抽取方法(Extract Method)
option + command + m
10、关闭当前打开的代码栏(Close)
command + w
11、查找任何东西(Search Everywhere)
双击shift
12、从当前光标选中到本行开头(Move Caret Line Start) / 从当前光标选中到本行末尾(Move Caret Line End)
command + ←
command + →
13、向下开始新的一行(Start New Line)
shift + enter
14、单行注释
command + /
15、多行注释
shift + control + /
16、导包 / 生成返回值(Show Context Actions)
command + 1
17、为new的对象生成名字和类型(Variable)
option+command+L
18、断点下一步
F6
19、调至下一断点
F7
2、VSCode
1、快捷键设置
command + k command + s
2、向上移动行(Move Line Up) / 向下移动行(Move Line Down)
option + ↑
option + ↓
3、向上复制一行(Copy Lines Up) / 向下复制一行(Copy Lines Down)
shift + option + ↑
shift + option + ↓
4、删除一行(Delete Line)
shift + command + k
5、格式化
shift + option + f
6、查找文件
command + p
7、光标不在末尾时向下开始新的一行
command + enter
更多推荐



所有评论(0)