当前位置:网站首页>Elaborate on the operation of idea
Elaborate on the operation of idea
2022-06-23 07:17:00 【The bad guy is stupid】
Interface settings
- Ctrl + F4 : Close the current tab page
- Alt + 1: Focus your mouse on project In the view
- Ctrl + Shift +← or →: Or so mobile project The dividing line between the view and the code area , The premise is that the mouse focus is positioned at project In view ;
- Alt +F1 eject select in View , And then choose Project view Medium project, enter , Locating classes in project The location of
- Alt +V , Get rid of Navigationbar : Remove the navigation bar
- Alt + Home: Show navigation
- Ctrl + Tab : A switchable view pops up , You can select the view to switch .
Convenient development
One 、 Search for
- Ctrl + N : Search by class name
- Ctrl + F: Search within the current file
- Ctrl + Shift + F: Global search
- Ctrl + Shift + Alt + N: Fuzzy search method name
- Ctrl + Shift + N : Fuzzy search directory
- Ctrl + E : open A record of a file that has been opened ;
- Ctrl + Shift + E : 6 Enhanced Edition
Two 、 Code generation
- Ctrl + O : Select override parent method ;
- Ctrl + Shift + Enter: Closing operation , Automatic completion of curly braces, semicolons, etc ;
- Alt + Insert : Automatic generation get/set And construction methods ;
3、 ... and 、 Code auto completion
- var Statement : Such as the input “aaa”.var Automatic completion is string a =“aaa”;
- for/fori Traverse : Such as list.for/fori Automatic completion is for(Obejct o:list){...} or for(int i=0;i<list.size();i++){...};
- null or notnull Judge :person.null/notnull Automatic completion is if(person == null){...} or if(person != null){...};
- nn The verdict is not empty : Such as person.nn Automatic completion is if(person !=null);
- if conditional :xx>0.if Automatic completion is :if(xx > 0){...};
- cast Strong go : Object a=“aa”, Input a.cast Automatic completion is (String)a;
- return Return value :“aa”.return Automatic completion is return "aa";
- sout: Generate System.out.println()
- psvm: Generate main Method ;
- sout: Generate System.out.println()
Four 、 other
- Ctrl + Shift + Direction key ↑ and ↓ : Move code up or down
- Ctrl + Alt + B( Or left mouse button ): Enter the implementation method of the interface method ;
- Ctrl + Alt + U: Show the inheritance diagram of this class
- Ctrl + Alt + Direction key ← and → : Forward or backward
- Ctrl + G : Jump to a line
- Ctrl + Shift + U : toggle case
Operation and debugging
- Ctrl + F10: Thermal deployment tomcat project ;
- F7: Step by step debugging , Go inside the method ;
- F8: Step by step debugging , Not inside the method ;
- F9 Carry on , Go to the next breakpoint or finish executing the program
- Shift+F7: Select the method to enter ;
- Shift+F8: Jump out of the way ;
- Alt+F8: Execute the expression to see the result ;
- Alt+F9: Run to breakpoint ;
- Ctrl+F8 Set up / Cancels the current line breakpoint ;
- Ctrl+Shift+F8 View breakpoints ;
Idea Configuration article
- Idea Console color output settings
- Idea To configure Terminal by Git Command terminal :
Seting→Terminal: To configure Shell path by git...ext
边栏推荐
- Technical article writing guide
- 异构交易场景交互流程及一致性保证
- 别找了诸位 【十二款超级好用的谷歌插件都在这】(确定不来看看?)
- 295. median data flow
- 100 GIS practical application cases (79) - key points of making multi plan integrated base map
- yolov5检测小目标(附源码)
- 307. 区域和检索 - 数组可修改
- 898. 子数组按位或操作
- C # how to obtain DPI and real resolution (can solve the problem that has been 96)
- Use of Lombok
猜你喜欢

NTU-RGBD数据集下载及数据格式解析

Endnote20 tutorial sharing (unfinished

Akamai-1.75 version-_ Abck parameter generation JS reverse analysis

UNET code implementation

MYSQL牛客刷题

如何优雅的快速下载谷歌云盘的大文件 (二)

Akamai-1.75版本-_abck参数生成-js逆向分析

In depth learning series 47:stylegan summary

PSP code implementation

Analysis of personalized learning progress in maker Education
随机推荐
316. remove duplicate letters
Analysis of personalized learning progress in maker Education
Quartz调度框架的学习使用
paddle版本问题
899. ordered queue
Learning and using quartz scheduling framework
yolov5检测小目标(附源码)
MySQL(二) — MySQL数据类型
细说Idea那些骚操作
‘latin-1‘ codec can‘t encode characters in position 103-115: Body (‘一串中文‘) is not valid Latin-1
SSTable详解
控制台程序
900. RLE iterator
【AI实战】xgb.XGBRegressor之多回归MultiOutputRegressor调参1
896. monotonic sequence
C language learning summary
Traversal of binary tree and related knowledge
C DPI adaptation problem
301. 删除无效的括号
Deeplab V3 code structure diagram