当前位置:网站首页>IDEA common shortcut keys and plug-ins
IDEA common shortcut keys and plug-ins
2022-07-31 03:33:00 【WalkingWithTheWind~】
IDEA common shortcuts and plugins
Shortcuts
Universal key (package guide, code optimization, prompt): ALT+ENTER
Empty invalid packages: CTRL+ALT+O
Code typesetting/formatting: CTRL+ALT+L
Quick line jump: CTRL+SPACTE+L
Common class operations (automatically generate get/set/build methods, etc.): ALT+INSERT
Quickly find files: Shift double click
Find/Replace in all file contents: ctrl+H
Find/Replace in the current file content: ctrl+f
Plugins
| plugin name | Description |
|---|---|
| http client | http test tool, idea supports by default |
| GsonFormatPlus | json |
| lombok | Annotation generates boilerplate code |
| GenerateAllSetMethod | Call all set methods of an object with one click |
| Alibaba Cloud Toolkit | Project Publishing Tool |
| MyBatisX | Used for jumping between mapper and xml |
How to use:
GsonFormatPlus(bundled with Lombok) command+N fill in json data to generate
GenerateAllSetMethod selects after new object alt+enter
Lombok @Data is equivalent to introducing @ToString @EqualsAndHashCode @Getter @Setter @RequiredArgsConstructor
Log annotation @Slf4j is introduced on the class log.info("info")
Alibaba Cloud Toolkit
Add Server


Deploy backend applications

Or edit configuration

Write a shell script to be executed after uploading
#!/bin/bashjarname='demo-0.0.1-SNAPSHOT'pid=`ps aux | grep $jarname | grep -v grep | awk '{print $2}'`echo $pidkill -9 $pidjava -jar $jarname.jarnohup java -jar /zz/$jarname.jar >/zz/run.log &边栏推荐
- Distributed locks and three implementation methods
- WebSocket Session is null
- errno error code and meaning (Chinese)
- WebSocket Session为null
- MultipartFile文件上传
- Implementation of a sequence table
- [Compilation principle] Design principle and implementation of recursive descent parsing
- 「 每日一练,快乐水题 」1331. 数组序号转换
- 2022 Nioke Multi-School League Game 4 Solution
- 顺序表的实现
猜你喜欢

TCP详解(三)

浅识Flutter 基本组件之CheckBox组件

【论文阅读】Mastering the game of Go with deep neural networks and tree search

「 每日一练,快乐水题 」1331. 数组序号转换

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

Addition and Subtraction of Scores in LeetCode Medium Questions

LeetCode每日一练 —— 138. 复制带随机指针的链表

TCP详解(二)

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

type_traits metaprogramming library learning
随机推荐
安全20220715
SIP协议标准和实现机制
BP神经网络
[Swift] Customize the shortcut that pops up by clicking the APP icon
A brief introduction to the CheckBox component of the basic components of Flutter
MultipartFile文件上传
[C language] General method of expression evaluation
PMP WeChat group daily exercises
Component pass value provide/inject
浅识Flutter 基本组件之CheckBox组件
【编译原理】词法分析程序设计原理与实现
Difference between unallocated blocks and unused blocks in database files
els 方块向左移动条件判断
RESTful api interface design specification
Distributed locks and three implementation methods
False positives and false negatives in testing are equally worthy of repeated corrections
Safety 20220722
The BP neural network
Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
Redis实现分布式锁