当前位置:网站首页>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 &
边栏推荐
- STM32 problem collection
- 递归查询单表-单表树结构-(自用)
- Annotation usage meaning
- 7年经验,功能测试工程师该如何一步步提升自己的能力呢?
- Recursive query single table - single table tree structure - (self-use)
- SIP Protocol Standard and Implementation Mechanism
- Getting Started with CefSharp - winform
- Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
- LeetCode简单题之两个数组间的距离值
- SQL injection Less47 (error injection) and Less49 (time blind injection)
猜你喜欢

【异常】The field file exceeds its maximum permitted size of 1048576 bytes.

Several common errors when using MP

Key Technologies of Interface Testing

IIR滤波器和FIR滤波器

LeetCode simple problem to find the subsequence of length K with the largest sum

【C语言】预处理操作
![[C language] Preprocessing operation](/img/69/0aef065ae4061edaf0d96b89846bf2.png)
[C language] Preprocessing operation

A brief introduction to the CheckBox component of the basic components of Flutter

TCP详解(一)

Mysql 45 study notes (twenty-five) MYSQL guarantees high availability
随机推荐
Redis实现分布式锁
【AUTOSAR-RTE】-5-Explicit(显式)和Implicit(隐式) Sender-Receiver communication
Thesis framework of the opening report
CloudCompare&PCL 计算两个点云之间的重叠度
[Godot][GDScript] 二维洞穴地图随机生成
els 方块向左移动条件判断
CorelDRAW2022 streamlined Asia Pacific new features in detail
解析小结—自用
立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业
注解用法含义
SQL injection Less54 (limited number of SQL injection + union injection)
大小端模式
C primer plus study notes - 8, structure
CloudCompare & PCL calculate the degree of overlap between two point clouds
Modbus on AT32 MCUs
LocalDate加减操作及比较大小
LeetCode简单题之两个数组间的距离值
TCP详解(二)
Detailed explanation of TCP (1)
A brief introduction to the CheckBox component of the basic components of Flutter