:This setting makes your IDEA easier to use-Picture material template recommendation免费ppt模版下载-道格办公

This setting makes your IDEA easier to use

One of the commonly used development tools. Here are some setup suggestions to make your IDEA work better: 1. Update to the latest version: Make sure you are using the latest version of IDEA to get the latest features and bug fixes. 2. Import personalized

Hi everyone, I am zeroing.

IDEA provided by JetBrains is a professional IDE (Integrated Development Environment) for Java development, and now it has replaced Eclipse as the mainstream software developed by the company.

If a worker wants to do a good job, he must first sharpen his tools. Today I will share IDEA practical plug-ins and tips to improve development efficiency.

1 beautification plugin

< span >1.1 theme

The two themes that come with IDEA obviously cannot meet the needs of all developers, so we need Download more themes. IDEA's plug-in repository actually provides a lot of themes, which are much cooler than the built-in themes. https://plugins.jetbrains.com/search?tags=ThemeHere I will teach you how to install the plugin (please skip it automatically), open IDEA Settings, find Plugins, and enter the theme you want in the search box.

Here I recommend two theme plugins:

  • Gradianoto
  • Material Theme UI
    < /li>

1.2 font

Here are two programmer-specific fonts recommended:

  • Fira Code
  • JetBrains Mono
    < /li>

Currently, I am using JetBrains Mono, and it seems that the code is really much more comfortable. Moreover, both fonts have added an important function, the programming ligature feature. You can directly display "!=" as "≠" or change ">=" into "≥", etc. When I first started using it, I thought there was some bug in the software, but I didn't know much about it.

After the font is installed, open the Font setting option in IDEA Settings, select Fira Code or JetBrains Mono, if you are not used to programming ligatures, you can uncheck Enable font ligatures.

2 plug-in for improving efficiency

2.1 Key Promoter X

Shortcut key prompt plug-in. When you perform a mouse operation, if the operation can be replaced by a shortcut key, a prompt will be given to help you quickly familiarize yourself with the shortcut key.

2.2 Lombok

This plug-in can replace get/set/construction/toString/hashCode and other methods in the entity class, and we don't need to write it manually, just add annotations to the class.

2.3 Alibaba Java Goding Guidelines

This is the Alibaba Java code specification scanning plug-in. After scanning the code, the plug-in will display the code that does not conform to the specification at the bottom or even on IDEA according to the three levels of Blocker, Critical, and Major. The plug-in also provides a real-time detection function based on the Inspection mechanism, which can quickly find the problem while writing the code. Moreover, the plug-in can give code modification suggestions, and can also provide a modification function for some rules, which is convenient for developers to modify the code of existing problems.

3 Development skills

3.1 Application Code template (Live Template)

Code template is a very useful function in IDEA, which can be abbreviated (keyword ) to generate the specified code segment. Many repetitive codes can be quickly generated in this way, which improves efficiency and reduces the probability of errors.As long as you enter apr, you can automatically prompt and generate Autowired statements. You can customize some code templates according to your own code habits to help us write code quickly.

3.2 HTTP Client test interface

It is no longer necessary to use external interface testing tools such as Postman. IDEA has a built-in HTTP Client, which can be called by writing scripts. Open in Tools>HTTP Client at the top:Write a script to test:

3.3 field search

Search according to the content of the file, you can directly locate the target content location, support local (current file or selected code segment) and global search (project/module/directory/scope, etc.)

Shortcut key for local search: Win: Ctrl + F
Mac: Command + F

Global search shortcut key: Win: Ctrl + shift + F Mac: Command + Shift + F

3.4 View method call tree

You can view all callers and callees of the specified method.

Shortcut key: Win: Ctrl + Alt + H Mac: Control + Option + H

3.5 View class relationship tree

Very useful, intuitive and clear display of the relationship between classes, easy to analyze.

Easter eggs

Here is just a list of some tips I usually use, which may be just the fur of this powerful software That's all, let's enjoy the official Overview of IDEA produced by JetBrains together, I hope it will be helpful to everyone.


If this article is helpful to you, welcomeLike&Looking&< /span>Share .


  • VuePress builds a document management website



Articles are uploaded by users and are for non-commercial browsing only. Posted by: Lomu, please indicate the source: https://www.daogebangong.com/en/articles/detail/This%20setting%20makes%20your%20IDEA%20easier%20to%20use.html

Like (810)
Reward 支付宝扫一扫 支付宝扫一扫
single-end

Related Suggestion