自动补全
ctrl + space
代码提示
ctrl + shift + space
智能代码提示
排錯
Alt+Enter
或者直接点击变色出错的地方,就可以查看解决方案
生成代码 (code菜单)
alt + ins
generating constructors, getters/setters
ctrl + o/i
overriding/implementing
ctrl + j
Code | Insert Live Template, 预定义的代码片段, File | Settings | Editor | Live templates
Ctrl+Alt+T
Code | Surround With
搜索
Alt+F7
where a particular symbol is used in your project, full-scale
Ctrl+F
in the current file
Ctrl+Shift+F
the entire project
Shift + Shift
search for classes, file, symbols and menu actions all at once as well as navigate to them, If you do not specify any search pattern, PhpStorm just shows a list of recent files where you can navigate to the relevant item by clicking it
Ctrl+N
navigation to a Class
Ctrl+Shift+N
navigation to a File
Ctrl+Shift+Alt+N
navigation to a Symbol
Ctrl+B, Ctrl+Click
Go To Declaration
Ctrl+Alt+B
Go to Implementation
测试
Ctrl+Shift+T
创建测试
浏览
Ctrl+F12
浏览当前类的结构