IDEA插件开发流程

1、启用 Plugin DevKit
2、配置 IntelliJ Platform Plugin SDK
3、配置文件

<idea-plugin>

  
  <name>MyPluginname>

  
  <id>com.example.plugin.mypluginid>

  
  <description>my plugin descriptiondescription>

  
  <change-notes>Initial release of the plugin.change-notes>

  
  <version>1.0version>

  
  <vendor url="http://www.jetbrains.com" email="[email protected]" />

  
  <depends>MyFirstPlugindepends>

  
  <idea-version since-build="3000" until-build="3999"/>

  
  <application-components>
    <component>
      
      <interface-class>com.foo.Component1Interfaceinterface-class>
      
      <implementation-class>com.foo.impl.Component1Implimplementation-class>
    component>
  application-components>

  
  <project-components>
    <component>
      
      <interface-class>com.foo.Component2interface-class>
    component>
  project-components>

  
  <module-components>
    <component>
      <interface-class>com.foo.Component3interface-class>
    component>
  module-components>

  
  <actions>
    ...
  actions>

  
  <extensionPoints>
    ...
  extensionPoints>

  
  <extensions xmlns="com.intellij">
    ...
  extensions>
idea-plugin>

你可能感兴趣的:(Tools,Java,IDEA)