快捷键 & small skills

mac :

  • Shift command p : 出来搜索应用(默认的是command 空格键

IntelliJ IDEA:

  1. Command shift w : 在IDEA出来谁写的代码

  2. command , : IDEA 出来search 框

  3. alt f1 ---> alt 1: IDEA 回到该文件在项目中的位置

  4. shift command T: 项目中的Controller ——》 到对应的测试文件,如果没有可以支持选项去创建一个(也可以反过来 Test ----》 Controller)

  5. Command f6 + command n : 批量的给函数加参数

  6. Option 上键 : 快速选中一个单词

  7. shift command u :先 选中 然后大小写转换

  8. Double shift === Shift command A , Shift command F , Shift command O

  9. cmmand G : 选中同一个char、chars(但是我的不起作用啊)

  10. Diff代码,提交代码:
    command 左下角数字
    command d : 进入diff
    f7 : 一个diff一个diff过
    shift f7:返回上一个diff处
    alt command z : git checkout .
    comand k
    esc : 退出diff框

  11. alt f7 : 查看这个方法的调用处

  12. command r : 单词替换,可以不把单词选中

13.command shift f7 :选中所有的使用当前变量的位置
快捷键:

  1. ctrl alt o : 清理代码中没有用到的import部分
  2. command f6 :给函数添加参数
  3. Alt command c: 选中单词抽取常量,会在当前文件中抽取一个常量
    然后 f6:可以选择将常量放在哪个文件中去
  4. Command shift m :选中抽取函数
    18 . Command shift f8 : 调出断点新窗口
  5. Command f12 : 进入到方法的源码类中,然后快捷键查看其方法有哪些
  6. Command shift enter :自动给行末尾加上分号
  • 快捷键:

ctrl alt o: 清理多余import
command f6 :所有函数参数

Alt command c: 选中抽取变量,会在本文件中抽取一个常量
f6:选择常量放在哪个文件中去

Command shift m : 选中抽取函数

Command shift f8 : 调出断点的位置

Command f12 : 进入到方法的类中,然后快捷键查看其方法有哪些

Command shift enter :自动加上分号

Command L : 跳到指定行号处
Alt command D : 桌面菜单栏的显示、隐藏
Alt command b : 书签展示

  • item2 分屏:
   * `ctrl D`
 * `Ctrl shift d `
 `Command left | right `: switch terminal 
 `Shift Command left | right`  : move terminal tab  

IDEA快捷键:
Alt enter = ctrl option o (***) 自动优化本文件的 import , don’t care point are where
Command alt B : 看这个类或者方法的实现处

断点调试:

Command f8 : 打断点 
F7 : 进入方法内部
F8:一行一行代码的走
F9:退出debug
F9 F9 enter: 重新开始启动debug 模式

IDEA 显示快捷键 plugin : presentation assistant

牛逼的IntelliJ IDEA快捷键---------不容错过

MySQL:

select * from table limit 1 \G : 格式化显示表的一条数据
show create table reservations : 查看这个表创建时的注释

你可能感兴趣的:(快捷键 & small skills)