IDEA一些不錯的插件分享
- IDEA一些不錯的插件分享
- 插件集合
- CamelCase
- Translation
- LiveEdit
- MarkDown Navigator
- Jrebel
- CheckStyle-IDEA
- Alibaba Java Coding Guidelines
- Ideavim
- Maven Helper
- FindBugs-IDEA
- GsonFormat
- Key promoter X
- .ignore
- JVM Debuger Memory View
- CMD Support
- Batch Scripts Support
- BashSupport
- Docker integration
- JMH plugin
- ANSI Highlighter
- Ideolog
- RestfulToolkit
- CodeGlance
- Lombok plugin
- activate-power-mode
- Background Image Plus
- Iedis
- Mongo Plugin
- VisualVM Launcher
- GenerateAllSetter
- MyBatisCodeHelperPro
- Easy Code
- IDEA Mind Map
- SequenceDiagram
- Material Theme UI
- String Manipulation
- JUnit Generator V2.0
- 插件集合
插件集合
CamelCase
駝峰式命名和下划線命名互相轉換。使用方法:選中要變化的地方,使用快捷鍵
Shift+Alt+U
即可。
Translation
翻譯插件,現支持
LiveEdit
用於調試樣式,更改樣式,
chrome
瀏覽器自動對應地變化出更改后的效果,連刷新都不用
IDEA已經集成
MarkDown Navigator
非常好用的編輯器,需要破解(或購買激活)才能使用
Jrebel
熱部署插件,需要破解(或購買激活)才能使用
CheckStyle-IDEA
提供代碼規范檢查(可選安裝,阿里巴巴的規范挺不錯的)
Alibaba Java Coding Guidelines
阿里巴巴Java規范插件
Git:https://github.com/alibaba/p3c/tree/master/idea-plugin
Ideavim
神級編輯器,熟悉vim編輯器的可以安裝使用(個人不用)
Maven Helper
Maven依賴分析等功能
FindBugs-IDEA
靜態分析工具
GsonFormat
json->object
Key promoter X
顯示點擊某個功能選項的快捷鍵(如果有的話)
.ignore
.ignore文件支持
JVM Debuger Memory View
Debug時,查看內存中對象
IDEA已經集成
CMD Support
CMD文件支持
Batch Scripts Support
Windows批處理腳本支持
BashSupport
Linux Bash支持
Docker integration
Docker支持
JMH plugin
JMH基准測試支持插件
ANSI Highlighter
log文件高亮支持
Ideolog
快速跳轉到日志文件中
Error
位置等
RestfulToolkit
Restful工具集,支持SpringMVC下的URL導航到對應方法等。
CodeGlance
預覽文本,參見sublime
Lombok plugin
Lombok必備。GitHub
activate-power-mode
裝逼神器,不解釋
Background Image Plus
設置背景圖片
Iedis
Redis客戶端(收費)
Mongo Plugin
MongoDB客戶端
VisualVM Launcher
運行時啟動visualvm,jvm調優
GenerateAllSetter
生成一個對象所有set方法調用並賦上默認值
MyBatisCodeHelperPro
mybatis代碼自動生成插件(收費)
Easy Code
基於IntelliJ IDEA開發的代碼生成插件,支持自定義任意模板(Java,html,js,xml)。
IDEA Mind Map
IDEA 思維導圖工具
SequenceDiagram
生成方法調用的時序圖
Intellij IDEA 顯示調用時序圖插件 SequenceDiagram
Material Theme UI
眼睛舒適的主題
String Manipulation
字符串處理,提供駝峰、下划線,base64、md5
JUnit Generator V2.0
快捷生成單元測試類
設置方法
-
-
Output Path:${SOURCEPATH}/../../test/java/${PACKAGE}/test/${FILENAME}
-
Default Template:Junit 4
-
Junit 4
內容
########################################################################################
##
## Available variables:
## $entryList.methodList - List of method composites
## $entryList.privateMethodList - List of private method composites
## $entryList.fieldList - ArrayList of class scope field names
## $entryList.className - class name
## $entryList.packageName - package name
## $today - Todays date in MM/dd/yyyy format
##
## MethodComposite variables:
## $method.name - Method Name
## $method.signature - Full method signature in String form
## $method.reflectionCode - list of strings representing commented out reflection code to access method (Private Methods)
## $method.paramNames - List of Strings representing the method's parameters' names
## $method.paramClasses - List of Strings representing the method's parameters' classes
##
## You can configure the output class name using "testClass" variable below.
## Here are some examples:
## Test${entry.ClassName} - will produce TestSomeClass
## ${entry.className}Test - will produce SomeClassTest
##
########################################################################################
##
#macro (cap $strIn)$strIn.valueOf($strIn.charAt(0)).toUpperCase()$strIn.substring(1)#end
## Iterate through the list and generate testcase for every entry.
#foreach ($entry in $entryList)
#set( $testClass="${entry.className}Test")
##
package ${entry.packageName}.test;
import org.junit.Test;
import org.junit.Before;
import org.junit.After;
/**
* ${entry.className} Tester.
*
* @author Switch
* @version 1.0
*/
public class $testClass {
@Before
public void init() throws Exception {
}
@After
public void destroy() throws Exception {
}
@Test
public void test${entry.className}() {
}
#foreach($method in $entry.methodList)
/**
*
* Method: $method.signature
*
*/
@Test
public void test#cap(${method.name})() throws Exception {
}
#end
#foreach($method in $entry.privateMethodList)
/**
*
* Method: $method.signature
*
*/
@Test
public void test#cap(${method.name})() throws Exception {
#foreach($string in $method.reflectionCode)
$string
#end
}
#end
}
#end
- 參考idea總結幾個不錯的插件
- 參考IntelliJ IDEA優秀插件(編程通用)
- 參考Java 工程師居家必備的 Intellij IDEA Top10 插件
- 參考Intellij IDEA 顯示調用時序圖插件 SequenceDiagram
分享並記錄所學所見