-
Notifications
You must be signed in to change notification settings - Fork 113
Home
小傅哥 edited this page Dec 17, 2021
·
1 revision
Welcome to the guide-idea-plugin wiki!
<idea-plugin>
<id>cn.bugstack.guide.idea.plugin.guide-idea-plugin-vo2dto</id>
<name>vo2dto</name>
<vendor email="184172133@qq.com" url="https://bugstack.cn">小傅哥</vendor>
<description><![CDATA[
选定对象批量织入“x.set(y.get)”代码,自动生成vo2dto<br>
<em>1. 获取上下文信息(也就是工程对象)</em>
<em>2. 给当前锚点位置的类提取 set 方法集合</em>
<em>3. 之后在给Ctrl+C剪切板上的信息读取出来提取 get 方法集合</em>
<em>4. 把set、get进行组合并织入代码到锚点位置</em>
]]></description>
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/plugin_compatibility.html
on how to target different products -->
<depends>com.intellij.modules.platform</depends>
<depends>com.intellij.modules.lang</depends>
<depends>com.intellij.modules.java</depends>
<!-- please see http://www.jetbrains.org/intellij/sdk/docs/basics/getting_started/build_number_ranges.html for description -->
<idea-version since-build="183.4284"/>
<extensions defaultExtensionNs="com.intellij">
<!-- Add your extensions here -->
</extensions>
<actions>
<!-- Add your actions here -->
<action id="Vo2DtoGenerateAction" class="cn.bugstack.guide.idea.plugin.action.Vo2DtoGenerateAction"
text="Vo2Dto - 小傅哥" description="Vo2Dto generate util" icon="/icons/logo.svg">
<add-to-group group-id="GenerateGroup" anchor="last"/>
<keyboard-shortcut keymap="$default" first-keystroke="ctrl shift K"/>
</action>
</actions>
</idea-plugin>
plugins {
id 'java'
id 'org.jetbrains.intellij' version '0.6.3'
}
group 'cn.bugstack.guide.idea.plugin'
version '2.0.1'
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.jetbrains.intellij'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
}
// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version '2019.3.1'
plugins = ['git4idea', 'java']
updateSinceUntilBuild = false
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.withType(Javadoc) {
options.encoding = 'UTF-8'
}
patchPluginXml {
changeNotes """
Vo2Dto<br>
<em>1. 获取上下文信息(也就是工程对象)</em>
<em>2. 给当前锚点位置的类提取 set 方法集合</em>
<em>3. 之后在给Ctrl+C剪切板上的信息读取出来提取 get 方法集合</em>
<em>4. 把set、get进行组合并织入代码到锚点位置</em>"""
}