当前位置:网站首页>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 &边栏推荐
- SQL Interview Questions (Key Points)
- Based on the local, linking the world | Schneider Electric "Industrial SI Alliance" joins hands with partners to go to the future industry
- Zotero如何删除自动生成的标签
- [C language] Three-pointed chess (classic solution + list diagram)
- beforeDestroy与destroyed的使用
- Good place to download jar packages
- 分布式系统架构需要解决的问题
- 想从手工测试转岗自动化测试,需要学习哪些技能?
- IDEA常用快捷键与插件
- TCP详解(一)
猜你喜欢

Mysql 45 study notes (twenty-five) MYSQL guarantees high availability

SIP协议标准和实现机制

Daily practice of LeetCode - palindrome structure of OR36 linked list

Safety 20220712

The application and practice of mid-to-platform brand advertising platform

Problems that need to be solved in distributed system architecture

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

【编译原理】递归下降语法分析设计原理与实现

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

C# remote debugging
随机推荐
立足本土,链接全球 | 施耐德电气“工业SI同盟”携手伙伴共赴未来工业
els 方块向右移动边界判断、向下加速
TCP详解(三)
【AUTOSAR-RTE】-4-Port和Interface以及Data Type
[Swift] Customize the shortcut that pops up by clicking the APP icon
type_traits元编程库学习
A brief introduction to the CheckBox component of the basic components of Flutter
Why SocialFi achievement Web3 decentralized social in the future
MultipartFile file upload
「 每日一练,快乐水题 」1331. 数组序号转换
Daily practice of LeetCode - 138. Copy a linked list with random pointers
Annotation usage meaning
Detailed explanation of TCP and UDP
想从手工测试转岗自动化测试,需要学习哪些技能?
Zotero如何删除自动生成的标签
Pytest e-commerce project combat (on)
Database implements distributed locks
Addition and Subtraction of Scores in LeetCode Medium Questions
SQL Interview Questions (Key Points)
VS QT - ui does not display newly added members (controls) || code is silent