Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What needs to be set up for the new installation of idea

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report