IDEA common settings and recommended plug-ins
This article mainly records some common settings of IDEA, compares the common shortcut keys of IDEA and Eclipse, and recommends some useful plug-ins.
basic settings
Set the interface style and modify the size of the external UI
When opening IDEA, the setting does not reopen the recent project
IDEA will open the recent project by default. Sometimes we need to choose the project to open by ourselves, which can be achieved by unchecking this option.
Set shortcut keys for IDEA
Set code font size
Set the project file encoding format
Sets the matching mode for code hints
Set the class annotation template for the new class file
Comparison of commonly used shortcut keys between IDEA and Eclipse
Friendly reminder: IDEA can be set as an Eclipse-style shortcut key. At File->Settings->Keymap, if you need to change some shortcut keys, you can search for them according to the English description in the following table and change them to the corresponding shortcut keys.
Recommended plugins
Since IDEA itself comes with many plug-ins, which can fulfill most of the needs, here are two plug-ins that I commonly use.
Free MyBatis plugin
A very useful MyBatis plug-in, which has a powerful prompt function for MyBatis xml, and can be associated with the mapper interface and the sql implementation in mapper.xml.
You can jump to each other from mapper interface and mapper.xml file
Various hints in mapper.xml
Lombok plugin
Lombok adds very interesting additional functions to the Java language. You don't need to write methods such as getters and setters for entity classes, and you can have them through an annotation.
A class without getter and setter methods has getter and setter methods by adding @Getter and @Setter annotations.
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/IDEA%20common%20settings%20and%20recommended%20plugins.html
评论列表(196条)
测试