当前位置:网站首页>On the optimization and use of idea
On the optimization and use of idea
2022-06-30 03:10:00 【Fate friend I】
A good workman does his work well , You must sharpen your tools first .
IDEA As JAVA One of the common tools for development , I believe that many friends often use , Therefore, proper optimization can better improve our efficiency .
But don't expect IDEA Do not occupy memory , That is not shown ……
List of articles
- One About IDEA Activation
- Two Several plug-ins are recommended
- 3、 ... and Use optimization
- 3.1 Set the background image
- 3.2 Set the mouse wheel to change the font size
- 3.3 Set the mouse hover prompt
- 3.4 Show toolbar 、 Tool window
- 3.5 Set the automatic package guide function
- 3.6 Ignore case hints
- 3.7 According to the line Numbers 【 Default display 】 And display method separator
- 3.8 Cancel single line display tabs The operation of 【 To use 】
- 3.9 Set annotation font and color
- 3.10 Modify the document comment information for the class header
- 3.11 Set the encoding of the project file
- 3.12 Set auto compilation
- 3.13 Attention to power saving mode 【 Don't check 】
- 3.14 Split vertically and horizontally
- Four Shortcut key summary
- 5、 ... and Breakpoint debugging
- 6、 ... and Other settings
One About IDEA Activation
- But I recommend a treasure ……, Spend a little money , It's settled. .
Two Several plug-ins are recommended
2.1 Where to install :file->settings->plugins->macketplace
2.2 Chinese(Simplified)Language Pack【 A big man with good English , Please pass by 】
2.3 Rainbow Brackets
- Use settings
- Use settings
- Recent bracket content highlights :ctrl+ Right click
- Recently, the dark effect outside the bracket content :alt+ Right click
Small make up think , These two functions are like turning on and off the lights , They can use each other .
When the highlight effect is turned off : Use alt+ Right click
When dim effect is turned off :ctrl+ Right click
2.4 CodeGlance2
- effect : On the far right of the edit code , Show a small code map
3、 ... and Use optimization
3.1 Set the background image
3.2 Set the mouse wheel to change the font size
3.3 Set the mouse hover prompt
3.4 Show toolbar 、 Tool window
- Easy to use
3.5 Set the automatic package guide function
- Improve coding efficiency
3.6 Ignore case hints
- Improve development efficiency
3.7 According to the line Numbers 【 Default display 】 And display method separator
- Make the structure of the code clearer
3.8 Cancel single line display tabs The operation of 【 To use 】
- Prevent too many files from being opened and the required class file cannot be found
3.9 Set annotation font and color
- Default comment , The color is not obvious , You can customize colors —— Easy to read
3.10 Modify the document comment information for the class header
- Highlight personal achievements , Record the editing time
3.11 Set the encoding of the project file
- Prevent confusion code
3.12 Set auto compilation
- Compile in time to prevent running old class file
3.13 Attention to power saving mode 【 Don't check 】
Intellij IDEA There is a state called power saving mode , Once this mode is turned on ,Intellij IDEA Code checks and code prompts are turned off . So it can also be considered as a reading mode , If you encounter a code file during development, it cannot be checked and prompted , You can see if this is enabled here .
3.14 Split vertically and horizontally
Four Shortcut key summary
Shift+Enter | Switch directly to the next line anywhere on the previous line |
---|---|
Ctrl+D | Copy the mouse line to the next line |
Alt+Shift+ On / Down key | Move the mouse line to the top / The next line |
Ctrl+shift+ On / Down key | Move the selected method / Class to other methods / Class / Underside 【 First select the code block you want to move 】 |
Alt+Enter | Quick creation method / Instantiate objects 【 Calling an uncreated method / not new The keyword instantiates a Scanner object 】 |
Alt+Insert | Quickly generate constructors 、 Rewriting methods |
Ctrl+H | Quick view of inheritance relationships |
Ctrl+alt+T | Select the code , Package code shortcut |
Ctrl+Shift+F | IntelliJ IDEA Global search |
Ctrl+F | Text search only in the current file |
Ctrl+O | To avoid writing wrong rewrite classes and quickly rewrite |
5、 ... and Breakpoint debugging
- Windows A unique feature , Memory footprint is relatively small .
5.1 debug Common shortcut key
name | Detailed explanation |
---|---|
stepover | Go to the next step , If the current line breakpoint is a method , Do not enter the current method + |
stepinto | Go to the next step , If the current line breakpoint is a method , Then enter the current method + |
force stepinto | Go to the next step , If the current line breakpoint is a method , Then enter the current method + |
stepout | Jump out of |
resume program | Restore program run , But if the code below the breakpoint has a breakpoint, it stops at the next breakpoint |
stop | stop it |
mute breakpoints | Point in , Invalidate all breakpoints |
view breakpoints | View all breakpoints |
Alt+F8 | assessment |
5.2 Conditional breakpoints —— Select breakpoint , Right click to set the condition
6、 ... and Other settings
6.1 Cancel the update
边栏推荐
- Use of Arthas
- [live broadcast notes 0629] Concurrent Programming II: lock
- Azure 开发者新闻快讯丨开发者6月大事记一览
- JS 字母和数字的相互转换
- Raki's notes on reading paper: named entity recognition as dependency parsing
-  与空格的区别
- 华为面试题: 分糖果
- What kind of foreign exchange trading platform is regulated and safe?
- 图的邻接矩阵存储 C语言实现BFS
- mysql 主从数据库同步失败的原因
猜你喜欢
Auto. JS learning notes 16: save to the mobile phone by project, instead of saving a single JS file every time, which is convenient for debugging and packaging
Distributed file storage system fastdfs hands on how to do it
Study diary: February 15, 2022
Compile a DLL without import table
中断操作:AbortController学习笔记
2. 成功解决 BUG:Exception when publishing, ...[Failed to connect and initialize SSH connection...
Mysql表数据比较大情况下怎么修改添加字段
在php中字符串的概念是什么
Interrupt operation: abortcontroller learning notes
Customize the buttons of jvxetable and the usage of $set under notes
随机推荐
Auto.js学习笔记16:按项目保存到手机上,不用每次都保存单个js文件,方便调试和打包
外汇交易平台哪个好?有监管的资金就安全吗?
The broadcast module code runs normally in autojs4.1.1, but an error is reported in pro7.0 (not resolved)
Quick sort, cluster index, find the k-largest value in the data
Wechat applet +php to realize authorized login operation
简单自定义MVC优化
C console format code
Jvxetable增加自定义按钮
2022 new test questions for safety management personnel of metal and nonmetal mines (small open pit quarries) and certificate examination for safety management personnel of metal and nonmetal mines (s
Personal PC installation software
The rigorous judgment of ID number is accurate to the last place in the team
X书6.89版本shield-unidbg调用方式
原生JS怎么生成九宫格
mysqldump原理
Distributed file storage system fastdfs hands on how to do it
*Write a program to initialize a string object with a vector < char> container*/
中断操作:AbortController学习笔记
设备驱动程序的原理
F1C100S自制开发板调试过程
问题记录:fel_lib.c:26:10: fatal error: libusb.h: 没有那个文件或目录