summaryrefslogtreecommitdiff
path: root/python/edu/course-creator/resources/META-INF/plugin.xml
blob: 0e7f75c90051e13861d25978c4f533044f86d548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<idea-plugin version="2">
  <id>org.jetbrains.plugins.coursecreator</id>
  <name>Course Creator for PyCharm Educational</name>
  <version>1.0</version>

  <description><![CDATA[
      Plugin allows you to create new course for PyCharm Education Edition.
    ]]></description>

  <change-notes><![CDATA[
    ]]>
  </change-notes>
  <!-- please see http://confluence.jetbrains.com/display/IDEADEV/Build+Number+Ranges for description -->

  <!-- please see http://confluence.jetbrains.com/display/IDEADEV/Plugin+Compatibility+with+IntelliJ+Platform+Products
       on how to target different products -->
  <!-- uncomment to enable plugin in all products
  <depends>com.intellij.modules.lang</depends>
  -->

  <depends>com.intellij.modules.python</depends>

  <extensions defaultExtensionNs="com.intellij">
    <directoryProjectGenerator implementation="org.jetbrains.plugins.coursecreator.CCProjectGenerator"/>
    <projectService serviceImplementation="org.jetbrains.plugins.coursecreator.CCProjectService"/>
    <codeInsight.lineMarkerProvider language="Python"
                                    implementationClass="org.jetbrains.plugins.coursecreator.highlighting.CCTaskLineMarkerProvider"/>
    <treeStructureProvider implementation="org.jetbrains.plugins.coursecreator.projectView.CCTreeStructureProvider"/>
    <codeInsight.lineMarkerProvider language="Python" implementationClass="org.jetbrains.plugins.coursecreator.RunTestsLineMarker"/>
    <fileTypeFactory implementation="org.jetbrains.plugins.coursecreator.AnswerFileTypeFactory" />
    <refactoring.elementListenerProvider implementation="org.jetbrains.plugins.coursecreator.CCRefactoringElementListenerProvider"/>
    <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
  </extensions>

  <application-components>
    <!-- Add your application components here -->
  </application-components>

  <project-components>
    <!-- Add your project components here -->
    <component>
      <implementation-class>org.jetbrains.plugins.coursecreator.CCProjectComponent</implementation-class>
    </component>
  </project-components>

  <actions>
    <action id="CreateLesson" class="org.jetbrains.plugins.coursecreator.actions.CreateLesson">
      <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
    </action>
    <action id="CreateTaskFile" class="org.jetbrains.plugins.coursecreator.actions.CreateTaskFile">
      <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
    </action>
    <action id="CreateTask" class="org.jetbrains.plugins.coursecreator.actions.CreateTask">
      <add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
    </action>
    <action id="AddTaskWindow" class="org.jetbrains.plugins.coursecreator.actions.AddTaskWindow">
      <add-to-group group-id="EditorPopupMenu" anchor="before" relative-to-action="CopyReference"/>
    </action>
    <action id="ShowPreview" class="org.jetbrains.plugins.coursecreator.actions.CCShowPreview">
        <add-to-group group-id="ProjectViewPopupMenu" anchor="first"/>
    </action>
    <action id="RenameLesson" class="org.jetbrains.plugins.coursecreator.actions.CCRenameLesson">
      <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
    </action>
    <action id="RenameTask" class="org.jetbrains.plugins.coursecreator.actions.CCRenameTask">
      <add-to-group group-id="ProjectViewPopupMenu" anchor="before" relative-to-action="CutCopyPasteGroup"/>
    </action>
    <action id="PackCourse" class="org.jetbrains.plugins.coursecreator.actions.CreateCourseArchive">
      <add-to-group group-id="MainToolBar" anchor="last" />
    </action>
    <action id="CCRunTests" class="org.jetbrains.plugins.coursecreator.CCRunTests" text="Run tests" description="Run tests"/>
  </actions>

</idea-plugin>