diff --git a/README.md b/README.md index 10cddc3..277bf54 100644 --- a/README.md +++ b/README.md @@ -3,20 +3,23 @@ A idea-plugin for Java/Scala to generate code, support custom code template. ![demonstration](https://blog.xiaohansong.com/media/15473672636863/15473884273212.gif) -This plugin generates code from right click 'Generate...' menu while focused on a Java/Scala class. The output class can be customized using a provided velocity template to format the code based on the origin class and optional selected classes.

+This plugin generates code from right click 'Generate...' menu while focused on a Java/Scala class. The output class can be customized using a provided velocity template to format the code based on the origin class and optional selected classes. There are many features are contributed by [Dmitry Karlinsky](https://github.com/dkarlinsky) and I appreciate that. The following features are available: +- Support add custom template to generate more code.(Velocity templates and groovy templates) - Generate the model class for the persistent class. - Generate the converter class for the model class and the persistent class. -- Support add custom template to generate more code. - Generate `@see` doc for override method. - Support Scala. - Generate api table from code # Install -1. Search 'CodeMaker' in Idea plugins -2. Download [Releases](https://github.com/x-hansong/CodeMaker/releases) +## Option 1 +- Search 'CodeMaker' in Idea plugins repository. + +## Option 2 +Download [Releases](https://github.com/x-hansong/CodeMaker/releases) To install a plugin from the disk in idea diff --git a/build.gradle b/build.gradle index a05e650..d2e6daf 100644 --- a/build.gradle +++ b/build.gradle @@ -16,10 +16,11 @@ repositories { } dependencies { - compile group: 'org.projectlombok', name: 'lombok', version: '1.16.14' + compileOnly 'org.projectlombok:lombok:1.18.8' + annotationProcessor 'org.projectlombok:lombok:1.18.8' compile group: 'commons-io', name: 'commons-io', version: '2.5' testCompile("io.kotlintest:kotlintest-runner-junit5:3.3.2") - testCompile "io.mockk:mockk:v1.9.3" + testCompile "io.mockk:mockk:1.9.3" } apply plugin: 'java' @@ -34,5 +35,5 @@ intellij { } group 'com.xiaohansong' -version '1.6' +version '1.4' diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 06c9231..0c87d52 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -1,18 +1,19 @@ com.xiaohansong.codemaker CodeMaker - 1.3 + 1.4 Personal This plugin generates code from right click 'Generate...' menu while focused on a java/scala class. The output class can be customized using a provided velocity template to format - the code based on the origin class and optional selected classes.

+ the code based on the origin class and optional selected classes. There are many features are contribute + by Dmitry Karlinsky and I appreciate that.

The following features are available:

]]> @@ -48,7 +56,7 @@ com.intellij.modules.lang --> com.intellij.modules.java - org.intellij.scala + org.intellij.scala