当前位置:网站首页>Idea common shortcut keys
Idea common shortcut keys
2022-06-25 23:55:00 【Hadoop_ Liang】
Search for anything shift+shift
shift+shift Very powerful , Searchable class 、 resources 、 Configuration item 、 Such method , It can also search the path . The search path is very practical , For example, you wrote a function called hello, stay java,js,css,jsp There are hello Folder , Then we can search for "hello/" Find the path that contains hello Folder .
Follow the text to find
Global search Ctrl+Shift+F
amount to eclipse Of ctrl+H, Speed advantage is more obvious .Ctrl+Shift+F It's a global search .
Press the key combination to find out , It should be in traditional Chinese with input method / The shortcut keys for simplified switching conflict
Modify method 1 : Turn off the shortcut key for switching between complex and simplified input methods
Modify method 2 : modify IDEA Default shortcut
Search on this page Ctrl+F
among Ctrl+F It's on this page
lookup Replace CTRL+R
All replacement CTRL+SHIFT+R
standard output :sout enter
Delete a line : ctrl + y
Move a line up and down :Ctrl+Shift+ Up and down keys
Automatic implementation of interface methods :ctrl + i
Return to the previous view :ctrl + tab
Copy one line to the next :Ctrl + D
Find the class Ctrl + N
View all variables and methods in the class Alt+7
Modify the auto prompt shortcut key Alt+C
The original shortcut key Ctrl+ Space , Now add Alt+C For new shortcut keys
Reference resources :https://zhidao.baidu.com/question/1515990561185577100.html
Return to the last edit location ctrl + alt +
ctrl+z Recall code
ctrl+shift+z Recovery recall code
Automatic generation getter/setter Method Alt + Insert
Press Alt + Insert, There are the following Generatte Prompt panel , And then choose Getter and Setter
AutoFormat code
Code -> Reformat Code
perhaps
Ctrl + Alt + L
Tips : If pressing the shortcut key is useless , Please check whether other software uses this shortcut key .
Automatically return the fill variable ctrl + alt + v
ctrl + alt + v
notes Ctrl + /
uncomment Ctrl + Shift + /
Ctrl + Shift + /
View the inheritance relationship of the class ctrl+H
ctrl+H
View the location of the class jar package ctrl+N
ctrl+N, The following box will appear , Then enter the class you want to enter , If the class you want to search for is included in jar Inside , You need to check “include non-project classes” Options , Then you can search it out
Remove unused packages Ctrl+Alt+O
Ctrl+Alt+O
Guide pack Alt + Enter
Alt + Enter
exception handling
The mouse cursor points to the abnormal place , Then press Alt + Enter, Then select the exception handling method
Code block Add enclosing statement , for example :try/catch
Ctrl + Alt + t
边栏推荐
- The role of iomanip header file in actual combat
- 51 single chip microcomputer, some registers, some knowledge points
- Virtual and pure virtual destructors and their implementation in c++
- Problems encountered in Doris operation and maintenance
- Using Google protobuf protocol environment configuration in PHP
- Unable to start debugging. Unexpected GDB output from command “-environment -cd xxx“ No such file or
- 数组常用的一些操作方法
- Linking MySQL database with visual studio2015 under win10
- 常用的几款富文本编辑器
- Common methods of object class
猜你喜欢
随机推荐
对象数组去重
关于运行scrapy项目时提示 ModuleNotFoundError: No module named 'pymongo‘的解决方案
WordPress
Spark日志分析
Database - mongodb
谈一谈生产环境中swoole协程创建数量控制机制
两种块级元素居中的方式
在step7中实现模拟量数值与工程量数值之间的转换_过路老熊_新浪博客
Line height for small use
Gradle的环境安装与配置
记录一下刷LeetCode瞬间有思路的一道简单题——剑指 Offer 09. 用两个栈实现队列
虚析构和纯虚析构及C ++实现
JS中常用知识点
格式化编号,不够位数的补0,例如1:0001,25:0025
今天说说String相关知识点
Studio5k v28安装及破解_过路老熊_新浪博客
支付宝支付接口沙箱环境测试以及整合到一个ssm电商项目中
Mutual conversion of float type data and datetime type data in sqlserver2008
mysql5.7版本在配置文件my.ini[mysqld]加上skip-grant-tables后无法启动
sqlServer2008中float类型数据与datetime类型数据互转