当前位置:网站首页>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 &
边栏推荐
- Observer pattern
- With 7 years of experience, how can functional test engineers improve their abilities step by step?
- Redis 使用 sorted set 做最新评论缓存
- A brief introduction to the CheckboxListTile component of the basic components of Flutter
- Mysql 45 study notes (twenty-five) MYSQL guarantees high availability
- 自己的一些思考
- The distance value between two arrays of LeetCode simple questions
- 解析小结—自用
- How to develop a high-quality test case?
- return in try-catch
猜你喜欢

浅识Flutter 基本组件之CheckBox组件

数据库实现分布式锁

TCP详解(三)

LeetCode简单题之找到和最大的长度为 K 的子序列

立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业

7年经验,功能测试工程师该如何一步步提升自己的能力呢?

Chapter 9 SVM Practice
![[C language] General method of expression evaluation](/img/59/cf43b7dd16c203b4f31c1591615955.jpg)
[C language] General method of expression evaluation
![[Compilation principle] Design principle and implementation of recursive descent parsing](/img/51/cd054a8246dc108520d6ff9ea26c60.png)
[Compilation principle] Design principle and implementation of recursive descent parsing

web容器及IIS --- 中间件渗透方法1
随机推荐
CloudCompare & PCL calculate the degree of overlap between two point clouds
Thesis framework of the opening report
endian mode
Detailed explanation of TCP (2)
[C language] Three-pointed chess (classic solution + list diagram)
The Map Entry understanding and application
Chapter 9 SVM Practice
PMP微信群日常习题
What is a distributed lock?Three ways of implementing distributed lock
安全20220722
WebSocket Session为null
什么是系统?
els 方块向右移动边界判断、向下加速
[Godot][GDScript] 二维洞穴地图随机生成
What is SQALE
SonarQube的BUG定义
【动态规划】连续子数组的最大和
Is interprofessional examination difficult?Low success rate of "going ashore"?Please accept this practical guide!
【异常】The field file exceeds its maximum permitted size of 1048576 bytes.
CorelDRAW2022 streamlined Asia Pacific new features in detail