mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package org.jetbrains.plugins.template;
|
||||
|
||||
public class MyApplicationService {
|
||||
public MyApplicationService() {
|
||||
System.out.println("MyApplicationService");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package org.jetbrains.plugins.template;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class MyProjectService {
|
||||
public MyProjectService(@NotNull Project project) {
|
||||
System.out.println("MyProjectService");
|
||||
}
|
||||
}
|
||||
17
src/main/resources/META-INF/plugin.xml
Normal file
17
src/main/resources/META-INF/plugin.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<idea-plugin url="www.jetbrains.com">
|
||||
<id>org.jetbrains.plugins.template</id>
|
||||
<name>Template</name>
|
||||
<version>1.0.0</version>
|
||||
<vendor>JetBrains</vendor>
|
||||
<idea-version since-build="201"/>
|
||||
<description>Demonstrates various aspects of interacting with project model</description>
|
||||
|
||||
<!-- Product and plugin compatibility requirements -->
|
||||
<!-- http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html?search=depend#dependency-declaration-in-pluginxml -->
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<applicationService serviceImplementation="org.jetbrains.plugins.template.MyApplicationService" />
|
||||
<projectService serviceImplementation="org.jetbrains.plugins.template.MyProjectService" />
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user