:Detailed diagrams of the most commonly used configurations of IntelliJ IDEA, a must-see for beginners!-empirical point of view免费ppt模版下载-道格办公

Detailed diagrams of the most commonly used configurations of IntelliJ IDEA, a must-see for beginners!

Sorry, I can't provide diagrams or details of visiting specific sites. However, I can offer you some common IntelliJ IDEA configuration settings, as well as some recommendations for the Java stack. 1. Install and configure IntelliJ IDEA: - Download and in

Java technology stack

www.javastack.cn

Excellent Java Technology Official Account

When you first use the IntelliJ IDEA editor, there will be a lot of settings, which will facilitate future development, and sharpen the knife without mistakenly chopping firewood.


For example: set the file font size, code auto-completion prompts, version management, local code history, automatic package import, modify comments, modify the number of tabs displayed and the number of lines , open project mode, and a whole bunch of stuff.


To sum up, so as not to change the system next time, you have to find the configuration again.


Set appearance and font size



This is to set the appearance. and font size. Putting it first is fine.


Set the shortcut key of the editor, that is, keymap



This is to modify the shortcut key mapping table we are used to, because I transferred from eclipse, most of them are probably similar to me, so you can configure it here If it becomes the shortcut key mapping table of eclipse, then there is no need to memorize a set of shortcut key mappings. For example, we often delete a row of Ctrl d, and copy a row of Ctrl + alt + down direction. Comment a line, Ctrl + / This is what we often use. It is also what we are used to, and this is also an excellent setting. Clickhereto view Intellij IDEA's ten postures!


In my picture, I copied the eclipse keymap, and then renamed it, because it is better to use some shortcut keys after modification.


Description about the file directory of the entire project


After the shortcut key is simple, let's get familiar with it again, the picture below.



This is also a general structure, there are three buttons where my arrow points,


The first one, after clicking, it will locate the location of the file you are currently opening in the file column on the left, find the file, and locate the file location with very many.


The second one is to merge all the directories. When you open too many directories, after one click, all the directories will be collapsed.


The third one, after clicking, you will see the pop-up box above. This is a bit special. It is recommended that the settings in the red box be the same as mine, which is better. In this way, you will not be surprised when you view the project directory structure on the left. As for why you feel strange, you can click on both of these first and see what is going on in your directory, and you will know what I am talking about,


With this configuration, you can clearly see the hierarchical structure of the directory. But if you click it, he will connect the empty packages directly, which is com.lxk.aop. . . . Wait, just try it out.


This is also necessary to explain.


Automatic hint



Code detection warning prompt level setting



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


Settings for automatic import package and import package optimization



In addition to automatically importing the package, of course, the premise is that the package does not have the same name. If the name is the same, you have to manually choose which one to import?


There is also optimization import, if you import many files under a package, it will optimize it to xxx package name for you .*. That is the configuration of the picture below.



Project directory--folding empty package



Word spelling tips--recommended to open



Strongly recommend, don't dislike the spell check of his word, this is also for your own good, lest you write a simple word, but you make a mistake, and remind You use camelCase. Also very good. Clickhereto view the ten postures of Intellij IDEA very 6!


A brief description of 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.


Tab page multi-line display settings



This is used when using a lot of tab pages, not if you open multiple pages, some will be closed. That's not good. Take a look at the picture below to see what I'm talking about.



Set the comment style of Java code



This is when you use the shortcut key to comment the code, for example, my shortcut key is Ctrl + d to comment the selected code, but if you don't set it, This // is at the beginning of the line of code. This doesn't look very habitual.


For details, please refer to the display of comments in the three cases in the figure below. Depending on which comment style you like, you can set it up.



Settings every time the editor opens a project



This is also an extremely necessary configuration, because if you don't configure it, click the icon on the desktop to open the project directly, this is not a good choice for you Which one to open. This is probably a problem for novices. Clickhereto view the ten postures of Intellij IDEA very 6!


Settings for quickly finding recently used files



The magical place of the sidebar on the left side of the Java code


The following two pictures are the most powerful parts of this editor, let's show them briefly.



The picture above is explained in detail in the svn article, you can visit it.


Native code also has a history



This is also the most powerful part of this editor. It can have its own local history, which is also described in detail in other articles.

Previous dry goods recommendation

1. Intellij Idea very 6 of 10 poses!

2. A multi-threaded security interview question with a relatively high appearance rate

3. Spring Boot core configuration file details

4. Talk about microservice architecture and distributed transaction solutions

5. Rising posture, pictures and texts will take you to understand the 8 major sorting algorithms


Java technology stack Long press to follow

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/Detailed%20diagrams%20of%20the%20most%20commonly%20used%20configurations%20of%20IntelliJ%20IDEA%20a%20mustsee%20for%20beginners.html

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

Related Suggestion