当前位置:网站首页>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
边栏推荐
- What are the test preparation materials and methods for soft exam information processing technicians?
- Unity determines whether the mouse clicks on the UI
- CAS机制
- ArrayList线程不安全和解决方案
- Unity script generates configurable files and loads
- 【推荐系统 02】DeepFM、YoutubeDNN、DSSM、MMOE
- How to prepare for the advanced soft test (network planning designer)?
- Use of dotween
- 1323: [example 6.5] activity selection
- [OneNote] can't connect to the network and can't sync the problem
猜你喜欢
What are the contents of the intermediate soft test, the software designer test, and the test outline?
Simple and easy to modify spring frame components
[recommendation system 01] rechub
[installation system] U disk installation system tutorial, using UltraISO to make U disk startup disk
Some superficial understanding of word2vec
香橙派OrangePi 4 LTS开发板通过Mini PCIE连接SATA硬盘的操作方法
Unable to open kernel device '\.\vmcidev\vmx': operation completed successfully. Reboot after installing vmware workstation? Module "devicepoweron" failed to start. Failed to start the virtual machine
Is the soft test intermediate useful??
[recommendation system 02] deepfm, youtubednn, DSSM, MMOE
如何顺利通过下半年的高级系统架构设计师?
随机推荐
使用 load_decathlon_datalist (MONAI)快速加载JSON数据
ADB utility commands (network package, log, tuning related)
“梦想杯”2017 年江苏省信息与未来小学生夏令营 IT 小能手 PK 之程序设计试题
Unity script visualization about layout code
P1031 [noip2002 improvement group] average Solitaire
MySQL insert data create trigger fill UUID field value
如何顺利通过下半年的高级系统架构设计师?
Use of dotween
Find the greatest common divisor and the least common multiple (C language)
单调性约束与反单调性约束的区别 monotonicity and anti-monotonicity constraint
China Southern Airlines pa3.1
2021 summary and 2022 outlook
Get pictures through opencv, change channels and save them
ArrayList thread insecurity and Solutions
ArrayList线程不安全和解决方案
CC2530 ZigBee iar8.10.1 environment construction
软考中级电子商务师含金量高嘛?
南航 PA3.1
Those confusing concepts (3): function and class
Long list performance optimization scheme memo