当前位置:网站首页>Idea shortcut keys
Idea shortcut keys
2022-07-07 10:53:00 【aabond】
One 、IDEA Common shortcut key
It can be done by IDEA menu bar Help -> Keymap Reference see
Two 、 View shortcut key functions and modifications
3、 ... and 、 Common shortcut key
Here are the shortcuts I will use in my work and study
notes : The following shortcut keys are followed by * Indicates that it is very common
3.1 ALT
Shortcut key | meaning |
---|---|
ALT + 7 | Display the current class structure |
ALT + Delete | Safe deletion |
ALT + Enter* | Display the list of intelligent operations |
ALT + F1 | Select the current class to display it in multiple views |
ALT + F7 | view classes / Method / attribute / Usage of parameters |
ALT + Insert* | Generate get/set/toString Etc |
ALT + Q | Display context information , Class name information is displayed in the class file |
3.2 ALT + SHIFT
Shortcut key | meaning |
---|---|
ALT + SHIFT + ↑* | Move the selected code up |
ALT + SHIFT + ↓* | Move the selected code down |
ALT + SHIFT + F | Add to Favorites |
3.3 CTRL
Shortcut key | meaning |
---|---|
CTRL + A* | Future generations |
CTRL + B / CTRL + LEFT* | Jump to class / Method / Attribute definitions |
CTRL + C* | Copy |
CTRL + D | Copy the current row or selected block |
CTRL + E* | Show a list of recently opened files |
CTRL + F* | Find the current page |
CTRL + G | The current page jumps to a certain line |
CTRL + H | Display the current cursor selection class inheritance relationship |
CTRL + I | Methods that implement parent classes or interfaces |
CTRL + J | Select code template insert |
CTRL + K | Submit git |
CTRL + L | After search , Find the next one |
CTRL + M | Scroll to the center of the page on the line of the current mouse |
CTRL + N* | Find the class |
CTRL + O* | Select the method in the parent class or interface to implement ( Than Ctrl + I More , This contains ancestor classes ) |
CTRL + P | Display the parameter information of the method |
CTRL + Q | Document information of the display method |
CTRL + R | Replace the current page |
CTRL + S | preservation |
CTRL + T | git Update project |
CTRL + U | Jump to the parent class or interface of the current class |
CTRL + V* | Paste |
CTRL + W | Expand mouse selection |
CTRL + X* | shear |
CTRL + Y | Delete row |
CTRL + Z* | revoke |
CTRL + BackSpace | Delete the cursor to select the front part of the word |
CTRL + Delete | Delete the cursor to select the part after the word |
CTRL + End | Jump to the end of the file |
CTRL + Enter | Split line , Move the back part of the cursor down to a line |
CTRL + F1 | Display specific information about the error or warning |
CTRL + F2 | Stopped program |
CTRL + F4 | Close the current edit file |
CTRL + F6 | Modify method signature |
CTRL + F7 | Where the cursor is 、 attribute 、 Parameters , Jump from the current file declaration location to the use location |
CTRL + F8 | Breaking point |
CTRL + F9 | compile |
CTRL + F11 | Use bookmark function , Mark the line of code where the cursor is located as a bookmark |
CTRL + F12 | List all methods and properties in the class |
CTRL + HOME | Jump to the file header |
CTRL + TAB | Jump to the recently opened file |
CTRL + [ | Move the cursor to the { |
CTRL + ] | Move the cursor to the } |
CTRL + /* | Comment on the current line of code , If it has been commented, cancel |
3.4 CTRL + SHIFT
Shortcut key | meaning |
---|---|
CTRL + SHIFT + Enter | by if Add braces to the statement |
CTRL + SHIFT + F* | Powerful search |
CTRL + SHIFT + F7 | Highlight the cursor to select objects using |
CTRL + SHIFT + I | Display method / Definition of attributes |
CTRL + SHIFT + N | Find files |
CTRL + SHIFT + T* | Generate test method |
CTRL + SHIFT + V | From the current buffer Middle stick |
CTRL + SHIFT + /* | Comment on the current code block , If it has been commented, cancel |
3.5 CTRL + ALT
Shortcut key | meaning |
---|---|
CTRL + ALT + C* | Change the attribute to a constant |
CTRL + ALT + I | Indent Cursor in line |
CTRL + ALT + Ins | New file , Class etc. |
CTRL + ALT + L* | formatting code |
CTRL + ALT + O* | Optimize , Remove useless import |
CTRL + ALT + S | Open Settings |
CTRL + ALT + T* | Select a template to generate code |
Four 、 Other
- Cancel automatic import *, stay setting->Editor->Code Style->Java->Imports modify
- Check the submitter and time of each line of code , Right click on the left side of the row , choice Annotate
5、 ... and 、 Reference resources
边栏推荐
- Différences entre les contraintes monotones et anti - monotones
- Those confusing concepts (3): function and class
- Unity script visualization about layout code
- [pytorch 07] hands on deep learning chapter_ Preliminaries/ndarray exercises hands-on version
- SQL Server 知识汇集9 : 修改数据
- CAS mechanism
- CC2530 ZigBee iar8.10.1 environment construction
- 中级软件评测师考什么
- MONAI版本更新到 0.9 啦,看看有什么新功能
- Multisim -- software related skills
猜你喜欢
软考一般什么时候出成绩呢?在线蹬?
Différences entre les contraintes monotones et anti - monotones
【推荐系统 01】Rechub
SQL Server knowledge gathering 9: modifying data
Application of OpenGL gllightfv function and related knowledge of light source
[OneNote] can't connect to the network and can't sync the problem
How much review time does it usually take to take the intermediate soft exam?
在线硬核工具
Applet jump to H5, configure business domain name experience tutorial
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
随机推荐
Introduction to shell programming
How to successfully pass the senior system architecture designer in the second half of the year?
Simple and easy to modify spring frame components
MONAI版本更新到 0.9 啦,看看有什么新功能
[machine learning 03] Lagrange multiplier method
Unity script generates configurable files and loads
软考中级,软件设计师考试那些内容,考试大纲什么的?
How to play video on unityui
When do you usually get grades in the soft exam? Online pedaling?
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
高级软考(网络规划设计师)该如何备考?
Schnuka: machine vision positioning technology machine vision positioning principle
中级网络工程师是什么?主要是考什么,有什么用?
TypeScript 接口继承
软考中级有用吗??
About hzero resource error (groovy.lang.missingpropertyexception: no such property: weight for class)
Is the soft test intermediate useful??
书签整理-程序员常用网站导航
gym安装踩坑记录
Prototype and prototype chain