IntelliJ插件开发位置

时间:2015-04-03 22:03:31

标签: node.js plugins intellij-idea intellij-plugin intellij-14

我尝试创建一个IntelliJ插件(我是IntelliJ dev的新手)为NodeJS添加一个新的项目模板,并想在这里添加

enter image description here

这是plugin.xml,现在它出现在Static Web下但不知道为什么

<idea-plugin version="2">
  <id>com.jaumard.plugin</id>
  <name>My Plugin</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="131"/>

    <depends>NodeJS</depends>
    <depends>JavaScript</depends>
  <depends>com.intellij.modules.platform</depends>

  <extensions defaultExtensionNs="com.intellij">
    <!-- Add your extensions here -->
    <codeInsight.template.postfixTemplateProvider language="PluginJS"
                                                  implementationClass="com.intellij.codeInsight.template.postfix.templates.EmptyPostfixTemplateProvider"/>
      <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
    <applicationService serviceInterface="com.jaumard.settings.PluginJSConfig"
                        serviceImplementation="com.jaumard.settings.PluginJSConfig"/>

    <directoryProjectGenerator implementation="com.jaumard.PluginJSProjectGenerator"/>
    <projectTemplatesFactory implementation="com.jaumard.PluginJSTemplateFactory"/>
  </extensions>


</idea-plugin>

0 个答案:

没有答案