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
翻譯插件,現支持Google翻譯、有道翻譯,
LiveEdit
用于除錯樣式,更改樣式,chrome瀏覽器自動對應地變化出更改后的效果,連重繪都不用
IDEA已經集成
MarkDown Navigator
非常好用的編輯器,需要破解(或購買激活)才能使用
Jrebel
熱部署插件,需要破解(或購買激活)才能使用
CheckStyle-IDEA
提供代碼規范檢查(可選安裝,阿里巴巴的規范挺不錯的)
Alibaba Java Coding Guidelines
阿里巴巴Java規范插件
需要該插件的可以添加公眾號:程式零世界
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
快捷生成單元測驗類
設定方法
1.
2.Output Path:${SOURCEPATH}/../../test/java/${PACKAGE}/test/${FILENAME}
3.>Default Template:Junit 4
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( $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
本文由博客一文多發平臺 OpenWrite 發布!
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/183049.html
標籤:Java
上一篇:HashMap理解
下一篇:jdk8的安裝及卸載
