###### tags: `study` # intellij 常用快捷(mac 版本) | 動作 | 指令 | | --------------------------------------------------------------- | -------------------- | | Quick fixed | option + enter | | Refactor this... | control + T | | introduce variable | option + command + V | | introduce field | option + command + F | | introduce parameter | option + command + P | | extract method | option + command + M | | rename | shift + F6 | | inline variable/field/parameter/method (就是反過來的 introduce) | option + command + N | | extend selection (選一個範圍)| option + ↑ | | shrink selection (取消選取一個範圍) | | | search everywhere | shift * 2 | | next highlight error | F2 | | generate code (constructor、getter/setter、override method 等等) | command + N | | file structure | command + ; | | reformat | option + command + L | | duplicate code | command + D | | run test | control + shift + R | | Cyclic Expand Word (往上選擇單字) | option + / | | command + F12 | 找method |