当前位置:网站首页>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 &边栏推荐
猜你喜欢
![[C language] Three-pointed chess (classic solution + list diagram)](/img/64/18ed08b64f9618bbd7f24ee16e6a6f.jpg)
[C language] Three-pointed chess (classic solution + list diagram)

Port inspection steps - 7680 port analysis - Dosvc service

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

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

【编译原理】词法分析程序设计原理与实现

STM32 problem collection

QML的使用

Detailed explanation of TCP (1)

Detailed explanation of TCP and UDP
![[C language] General method of expression evaluation](/img/59/cf43b7dd16c203b4f31c1591615955.jpg)
[C language] General method of expression evaluation
随机推荐
(树) 最近公共祖先(LCA)
C语言从入门到如土——数据的存储
【编译原理】词法分析程序设计原理与实现
Automation strategies for legacy systems
IDEA常用快捷键与插件
【Cocos Creator 3.5】缓动系统停止所有动画
type_traits metaprogramming library learning
(线段树) 基础线段树常见问题总结
errno错误码及含义(中文)
CloudCompare & PCL calculate the degree of overlap between two point clouds
Safety 20220712
What skills do I need to learn to move from manual testing to automated testing?
Redis counts new and retained users
Golang中的addressable
TCP详解(一)
No qualifying bean of type 问题
进程间通信
web容器及IIS --- 中间件渗透方法1
Redis uses sorted set to cache latest comments
els block to the left to move the conditional judgment