程式設計師使用IDEA這些插件後,辦公效率提升100%(持續更新中)

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

tt.gif

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
image.png

Material Theme UI

眼睛舒適的主題

String Manipulation

字元串處理,提供駝峰、下劃線,base64、md5

JUnit Generator V2.0

快捷生成單元測試類

設置方法

1.image.png

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( $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

本文由部落格一文多發平台 OpenWrite 發布!

Tags: