Java后端
,
选择
设为星标

彻底理解 Cookie,Session,Token
1. 插件的安装
-
Ctrl + Alt + S
-
File -> Setting

详情见往期关于settings的文章。
2.各种插件
1. activate-power-mode 和 Power mode II

2.Background Image Plus

3.Grep console


4.Free Mybatis plugin
我们开发中使用mybatis时时长需要通过mapper接口查找对应的xml中的sql语句,该插件方便了我们的操作。欢迎关注公众号 Java后端 获取更多推送。


5.MyBatis Log Plugin


6.String Manipulation
使用快捷键,Alt+m。

-
切换样式(camelCase, hyphen-lowercase, HYPHEN-UPPERCASE, snakecase, SCREAMINGSNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase)
-
转换为SCREAMINGSNAKECASE (或转换为camelCase)
-
转换为 snake_case (或转换为camelCase)
-
转换为dot.case (或转换为camelCase)
-
转换为hyphen-case (或转换为camelCase)
-
转换为hyphen-case (或转换为snake_case)
-
转换为camelCase (或转换为Words)
-
转换为camelCase (或转换为lowercase words)
-
转换为PascalCase (或转换为camelCase)
-
选定文本大写
-
样式反转
7.Alibaba Java Coding Guidelines

8.Lombok
Lombok则为我们解决了这些问题,使用了lombok的注解(@Setter,@Getter,@ToString,@@RequiredArgsConstructor,@EqualsAndHashCode或@Data)之后,就不需要编写或生成get/set等方法,很大程度上减少了代码量,而且减少了代码维护的负担。欢迎关注公众号 Java后端 获取更多推送。
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
public class People {
private String name;
private int age;
private String male;
}
9.Key promoter
10.Gsonformat
11.Restfultookit
我要找到/user/add 对应的controller,那么只要Ctrl+斜杠 ,(图片来自于网络)

这个也是真心方便,当然restfultookit还为我们提供的其他的功能。
根据我们的controller帮我们生成默认的测试数据,还能直接调用测试,这个可以是解决了我们每次postman调试数据时,自己傻傻的组装数据的的操作,这个更加清晰,比在console找数据包要方便多了。
欢迎关注公众号 Java后端 获取更多推送。

12.JRebel
它跳过了Java开发中常见的重建、重新启动和重新部署周期。
作者 | jajian
来源 | www.cnblogs.com/jajian/p/8081658.html

荐
阅
读

在看

本文分享自微信公众号 - Java后端(web_resource)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
相关文章
暂无评论...