1.新建项目
这里的SDK 选默认的。
2.文件名和文件路径
3.默认文件目录层级结构
4. plugin.xml 文件介绍
<idea-plugin>
<!--插件id-->
<id>com.your.company.unique.plugin.id</id>
<!--插件名称-->
<name>Plugin display name here</name>
<!--插件版本-->
<version>1.0</version>
<!--开发者/公司信息-->
<vendor email="support@yourcompany.com" url="http://www.yourcompany.com">YourCompany</vendor>
<!--插件说明-->
<description><![CDATA[Enter short description for your plugin here.<br><em>most HTML tags may be used</em>]]></description>
<change-notes><![CDATA[Add change notes here.<br><em>most HTML tags may be used</em>]]>
</change-notes>
<idea-version since-build="173.0"/>
<!--依赖的其他插件能力-->
<extensions defaultExtensionNs="com.intellij">
</extensions>
<!--插件动作-->
<actions></actions>
</idea-plugin>
5.创建Action
6.生成Src类文件。
我们写一个弹出框来输出hello,world。
7.运行文件
写完之后我们通过Bebug运行