What needs to be set up for the new installation of idea
This article introduces the relevant knowledge of "what places need to be set up for the new installation idea". In the actual case operation process, many people will encounter such difficulties. Next, let Xiaobian lead you to learn how to deal with these situations! I hope you can read carefully and learn something!
1. Set the encoding format.
2. Set up maven.
If you don't set it, you'll have to download the jar package again.
3. Set shortcut keys.
I use eclipse shortcuts.
4. Set the theme.
5. Set the font.
6. Set JDK.
7. Turn on automatic compilation.
8. Trim template when generating javaBean setter code. 8.1 Configure the setter template.
Right click--->Generate... --> Getter and Setter
Click on the "+" sign to add a template.
The template reads as follows:
#set($paramName = $helper.getParamName($field, $project))#if($field.modifierStatic)static ###endvoid set$StringUtil.capitalizeWithJavaBeanConvention($StringUtil.sanitizeJavaIdentifier($helper.getPropertyName($field, $project)))($field.type $paramName) {#if ($field.name == $paramName) #if (!$ field.modifierStatic) this.## #else $classname.## #end#end$field.name = ###if($field.string) $paramName == null ? null : $paramName.## trim();#else $paramName;#end}
When generating the setter, select the template you just created.
8.2 The generated code has the following effect.
9. Add lombok plug-in.
File > Settings > Plugins > Browse repositories... > Search for "lombok" > Install Plugin
10. Setting of the current project in mac
11. Default settings for new projects in mac
12. Default jdk for new projects in mac
To be continued…
The content of "What places need to be set up for new installation idea" is introduced here. Thank you for reading. If you want to know more about industry-related knowledge, you can pay attention to the website. Xiaobian will output more high-quality practical articles for everyone!