当前位置:网站首页>IDEA常用快捷键与插件
IDEA常用快捷键与插件
2022-07-31 03:20:00 【WalkingWithTheWind~】
IDEA常用快捷键与插件
快捷键
万能键(导包、代码优化、提示):ALT+ENTER
清空失效包:CTRL+ALT+O
代码排版/格式化:CTRL+ALT+L
快速行跳转:CTRL+SPACTE+L
常用类操作(自动生成get/set/构建方法等):ALT+INSERT
快速查找文件:Shift 双击
在全部文件内容中查找/替换:ctrl+H
在当前文件内容中查找/替换:ctrl+f
插件
插件名 | 描述 |
---|---|
http client | http测试工具,idea默认支持 |
GsonFormatPlus | json |
lombok | 注解生成样板化代码 |
GenerateAllSetMethod | 一键调用一个对象的所有的set方法 |
Alibaba Cloud Toolkit | 项目发布工具 |
MyBatisX | 用于mapper和xml之间的跳转 |
使用方法:
GsonFormatPlus(捆绑Lombok) command+N 填入json数据生成
GenerateAllSetMethod 在new对象后alt+enter 选择
Lombok @Data等同于引入@ToString @EqualsAndHashCode @Getter @Setter @RequiredArgsConstructor
日志注解 类上引入@Slf4j log.info("info")
Alibaba Cloud Toolkit
添加服务器
部署后端应用
或者编辑配置
编写上传完毕后执行的shell脚本
#!/bin/bash
jarname='demo-0.0.1-SNAPSHOT'
pid=`ps aux | grep $jarname | grep -v grep | awk '{print $2}'`
echo $pid
kill -9 $pid
java -jar $jarname.jar
nohup java -jar /zz/$jarname.jar >/zz/run.log &
边栏推荐
猜你喜欢
Several common errors when using MP
MultipartFile文件上传
SQL injection Less54 (limited number of SQL injection + union injection)
【动态规划】连续子数组的最大和
Recursive query single table - single table tree structure - (self-use)
Use of QML
Addition and Subtraction of Scores in LeetCode Medium Questions
The distance value between two arrays of LeetCode simple questions
Detailed explanation of TCP (3)
postgresql 15源码浅析(5)—— pg_control
随机推荐
LocalDate加减操作及比较大小
Compile Hudi
刚出道“一战成名”,安全、舒适一个不落
return in try-catch
Redis 使用LIST做最新评论缓存
QML的使用
Why SocialFi achievement Web3 decentralized social in the future
els block to the right
No qualifying bean of type 问题
False positives and false negatives in testing are equally worthy of repeated corrections
顺序表的实现
日志级别 和 打印log注意
从滴滴罚款后数据治理思考
[Godot][GDScript] 2D cave map randomly generated
Atomic operation CAS
【Exception】The field file exceeds its maximum permitted size of 1048576 bytes.
TCP详解(二)
SIP Protocol Standard and Implementation Mechanism
TCP详解(一)
VS QT - ui does not display newly added members (controls) || code is silent