:How should IDEA be set up? In order to become a powerful artifact~-empirical point of view免费ppt模版下载-道格办公

How should IDEA be set up? In order to become a powerful artifact~

Wow! Becoming a great artifact is an ambitious goal. Although I can't directly access the link, I can give you some suggestions to set up your IDEA (IntelliJ IDEA or other IDE) to help you use it more efficiently. 1. Install plugins: IDEA has many plugins

Source: https://blog.csdn.net/zeal9s

Hello, new friends, hello everyone! Since the official account has been revised, in order to ensure that the resources of the official account can be pushed to your hands on time, everyone remembers to put our official account Add a star to the top< /strong> , sincerely thank you~

The text is as follows:


# Display toolbar


(1) Effect picture

(2)Setting method
  • Annotation 1: View–>Toolbar
  • Annotation 2: View–>Tool Buttons


# Set mouse hover tips


(1) Effect picture

(2)Setting method
File–>settings–>Editor–>General–> check Show quick documentation…

# Show method separator

< br>
(1) Effect picture

(2)Setting method
File–>settings–>Editor–>Appearance–> ;Check

# Ignore case hint


(1) Effect picture
Remarks: The default setting of idea is to strictly distinguish case prompts, For example, inputting a string will not prompt String, which is inconvenient for encoding

(2)Setting method
File–>settings–>Editor–>General -->Code Completion -->

# Theme Settings


(1) Effect picture
Note: There are two styles of black and white

(2)Setting method
File–>settings–>Appearance & Behavior–>Appearance–>

# Eye Protection Theme Settings

< br>
(1) Effect picture

(2)Setting method
If you want to change the theme of the editing page, you can go to the settings to adjust the background color

If you need a good looking coding style, there are many themes here http://color-themes.com/?view=index&layout=Generic&order=popular&search =&page=1 Click on the corresponding topic, slide down and click the button


There are many Jar packages downloaded

Choose to import the jar package in the above position, then restart the idea to take effect, after restarting, go to set

# Automatically import packages


(1) Effect picture
Note: By default, the package needs to be imported manually, for example, we need to import Map class, you need to import it manually. If you don’t need to use it, delete the Map instance, and the imported package also needs to be deleted manually. If you set this function, you don’t need to manually import it. It will automatically import and remove packages for you. Convenient screenshot, please test the effect~

(2) Setting method
File–>settings–>Editor–>general–>Auto Import–>

# Display multiple Tabs in a single line


(1) Effect picture
The default is to display a single row of Tabs :
Display multiple Tabs in a single line:

(2)Setting method
File–>settings–>Editor–>General -->Editor Tabs–>Remove √

# Set font


(1) Effect picture
Remarks: The font of the default installation and startup Idea is very small, which is not used to it, and needs to be adjusted Font size and font (can be adjusted if necessary)

(2) Setting method
File–>settings–>Editor–>Font–>

# Configuration class document comment information and method comment template


(1) Rendering
Remarks: It is convenient for team development to investigate responsibility and manage View

(2)Setting method
https://blog.csdn.net/zeal9s/article/details/83514565< br>


# Horizontal or vertical display code


(1) Effect picture
Remarks: If Eclipse needs to compare codes, just drag Just move the Tabs, but the idea needs to be set

(2)Setting method
Right-click Tabs

# Replace shortcut keys


(1) Effect picture
Remarks: From Eclipse to idea coding, many shortcut keys are inconsistent, resulting in writing The efficiency is reduced, now let's replace the shortcut key

(2) Setting method
  • Method 1:
File–>Setting–> ;
For example, if it is set to Eclipse, you can ctrl+d to delete a single line of code after setting (idea is ctrl+y)
  • Method 2: Setting Template
    File–>Setting–>

  • Method 3:
Take the ctrl+o rewriting method as an example

# Remove italics from comments


(1) Effect picture

(2)Setting method
File–>settings–>Editor–>

# Code detection warning prompt level setting



Strongly recommend, don’t turn it off, don’t dislike trouble, his tips are all good for you, and help you improve your code quality, which is very helpful.

# Project Directory Related – Fold Empty Package< /strong>



#Window reset


This means that when you suddenly mess up the window, you can still restore it, just restore it directly, and it will be fine.

# View local code history



# Quick completion semicolon


CTRL + SHIFT + ENTER anywhere on the current line to quickly generate a semicolon at the end.

# Quickly find the Controller method


If you have a lot of controllers in your project, there are a lot of http or resful method. How to quickly find these methods? At this time, ctrl+alt+shift+n can come in handy.

For example, you vaguely remember the interface related to billing, and there is a bill URL path , then use ctrl+alt+shift+n and directly enter /bill.

When you are looking for methods in thousands of Controllers, this trick can greatly improve efficiency.


# braces match


This is also very useful, because the code is too long, a for loop may have filled the entire screen. At this time, it is very difficult to find the other side corresponding to a certain brace. You can position the cursor on one side of a brace, and then use ctrl+] or ctrl+[ to go back and forth.

Supplement: The above configuration information is saved in the system disk

By default there will be these two files

config: During the initial installation of IntelliJ IDEA, you are asked whether to import the existing configuration information. This config is your configuration information, which is convenient for reinstalling when changing computers and systems. The premise is to save this information. folder.

system: This folder is when IntelliJ IDEA encounters unpredictable errors, such as blue screens If the project cannot be started due to a sudden power failure, you can try to delete this file and let the system regenerate a system file.


Popular recommendation:
  • To be honest, this brute force cracking artifact is awesome! Netizens called directly: 666
  • After working for 5 years, I still haven't understood the Java log system!
  • Fuck you YouTube!


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/How%20should%20IDEA%20be%20set%20up%20In%20order%20to%20become%20a%20powerful%20artifact.html

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

Related Suggestion