IDEA daily use shortcut keys ------

IDEA using commonly used shortcuts, if flawed, welcome comments and additions noted:

Seek 

hot key Introduction
Ctrl + F Look in the current text
Ctrl + R Replace text in the current file
Shift + Ctrl + F Find the text Project
Shift + Ctrl + R Text replacement project
Shift +Shift fast Search
Ctrl + N Find a class
Ctrl + Shift + N Find Files
Ctrl +Shift + Alt + N Find symbol (to find a method name)

 Jump to switch

hot key Introduction
Ctrl + E Recent Files
Ctrl +Tab Switching file
Ctrl + Alt + ← / → arrow keys Jump at the history of the cursor
Alt + ← / → arrow keys Switching sub-tab
Ctrl + G Jump specified line number

Coding related

hot key Introduction
Ctrl + W Quickly select
shift + Ctrl +Alt + J Quickly select the same text
Ctrl +C / Ctrl + X / Ctrl + D Quick Copy or Cut
After multiple rows selected Tab / Shift + Tab tab
Ctrl + Y Delete the entire line
Click the scroll wheel variable / method / class Quick access to the variables defined / method / class
Shift + click on the tab Quick closing tab
Ctrl + Z / Ctrl + shift + Z Undo
Ctrl + shift + enter Automatic finishing, automatic code completion
Alt + Enter Intellij IDEA According cursor problems and provide a quick fix option, the cursor on the results of the different locations are different tips
Alt + ↑/↓ Quick Jump method
F2 Jump to the next height position error or warning
Alt + Insert Automatic generation of code, such as generating an object set / get the method, constructor, toString (), etc.
Ctrl + shift +L Formatting code
shift + F6 Fast modification method names, variable names, file names, class names, etc.
Ctrl + F6 Quickly modify the method signature

Code Read

 

hot key Introduction
Ctrl + P The method parameter prompt is displayed
Ctrl + shift + i It can be another bomb out of a window in the current class
Alt + F7 You can list the areas in which the parameters are used
Cursor subclass interface name, Ctrl + u Jump to Parent class interface
shift +Ctrl + +/- 代码块折叠
Ctrl + shift + ←/→ 移动窗口分割线
Ctrl + Alt +B 跳转方法定义/实现
Ctrl + H 类的层级关系
Ctrl + F12 类成员快速显示

 版本管理相关

快捷键 介绍
Ctrl +D  show Diff

 

 

发布了31 篇原创文章 · 获赞 14 · 访问量 9545

Guess you like

Origin blog.csdn.net/weixin_42555514/article/details/102580146