当前位置:网站首页>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 &
边栏推荐
- BP神经网络
- 【CocosCreator 3.5】CocosCreator get network status
- Ambiguous method call.both
- What skills do I need to learn to move from manual testing to automated testing?
- (树) 最近公共祖先(LCA)
- The distance value between two arrays of LeetCode simple questions
- 安全20220709
- 顺序表的实现
- Recursive query single table - single table tree structure - (self-use)
- 一份高质量的测试用例如何养成?
猜你喜欢
Problems that need to be solved in distributed system architecture
Detailed explanation of TCP (2)
LeetCode每日一练 —— 138. 复制带随机指针的链表
【编译原理】递归下降语法分析设计原理与实现
IDEA comment report red solution
VS QT - ui does not display newly added members (controls) || code is silent
【C语言】预处理操作
Getting Started with CefSharp - winform
IDEA常用快捷键与插件
IDEA 注释报红解决
随机推荐
《DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction》论文笔记
"DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction" paper notes
安全20220709
some of my own thoughts
2022 Nioke Multi-School League Game 4 Solution
What skills do I need to learn to move from manual testing to automated testing?
Several common errors when using MP
Annotation usage meaning
QML的使用
SIP Protocol Standard and Implementation Mechanism
CloudCompare & PCL calculate the degree of overlap between two point clouds
A brief introduction to the CheckBox component of the basic components of Flutter
What is SQALE
观察者模式
[Dynamic programming] Maximum sum of consecutive subarrays
Redis 使用LIST做最新评论缓存
C# remote debugging
Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)
beforeDestroy与destroyed的使用
【Exception】The field file exceeds its maximum permitted size of 1048576 bytes.