Files
openide/python/python-restructuredtext/resources/intellij.restructuredtext.python.xml
Andrey Lisin 638dce38d7 PY-71930 Restore reStructuredText plugin
This commit partially reverts changes from 4da3e7da. While the consolidation of reStructuredText support into a single module is retained, it needs to be available as a plugin since some IDEs do not include it by default but can still benefit from its capabilities.


Merge-request: IJ-MR-139650
Merged-by: Andrey Lisin <andrey.lisin@jetbrains.com>

GitOrigin-RevId: bc5cde2970a0760e32ceaee61ceef8427e8f8fe5
2024-07-31 12:47:03 +00:00

39 lines
1.9 KiB
XML

<idea-plugin package="com.intellij.restructuredtext.python">
<dependencies>
<plugin id="PythonCore"/>
</dependencies>
<extensions defaultExtensionNs="com.intellij">
<applicationConfigurable groupId="language" instance="com.intellij.restructuredtext.python.editor.RestConfigurable"
id="restructured.text.topic" bundle="messages.RestBundle" key="configurable.RestConfigurable.display.name"/>
<configurationType implementation="com.intellij.restructuredtext.python.run.RestRunConfigurationType"/>
<runConfigurationProducer implementation="com.intellij.restructuredtext.python.run.docutils.DocutilsConfigurationProducer"/>
<runConfigurationProducer implementation="com.intellij.restructuredtext.python.run.sphinx.SphinxConfigurationProducer"/>
<localInspection language="ReST" shortName="RestRoleInspection" bundle="messages.RestBundle" key="INSP.role.not.defined"
groupKey="INSP.GROUP.rest" enabledByDefault="false" level="WARNING"
implementationClass="com.intellij.restructuredtext.python.inspections.RestRoleInspection"/>
<languageInjector implementation="com.intellij.restructuredtext.python.PyRestDocstringLanguageInjector"/>
<lang.fileViewProviderFactory language="ReST"
implementationClass="com.intellij.restructuredtext.python.RestFileProviderFactory"/>
<lang.substitutor language="TEXT" implementationClass="com.intellij.restructuredtext.python.RestLanguageSubstitutor"/>
<fileEditorProvider implementation="com.intellij.restructuredtext.python.editor.RestSplitEditorProvider"/>
</extensions>
<actions resource-bundle="messages.PythonRestBundle">
<action id="com.intellij.restructuredtext.python.RunSphinxQuickStartAction"
class="com.intellij.restructuredtext.python.RunSphinxQuickStartAction">
<add-to-group group-id="ToolsMenu" anchor="last"/>
</action>
</actions>
</idea-plugin>