mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
extend python-copyright as a plugin
This commit is contained in:
@@ -5,6 +5,7 @@ intellij.markdown
|
||||
intellij.platform.langInjection
|
||||
intellij.platform.remoteServers.git
|
||||
intellij.properties
|
||||
intellij.python.copyright
|
||||
intellij.python.ipnb
|
||||
intellij.python.langInjection
|
||||
intellij.python.reStructuredText
|
||||
|
||||
@@ -41,6 +41,5 @@
|
||||
<orderEntry type="library" name="Slf4j" level="project" />
|
||||
<orderEntry type="library" name="netty-handler" level="project" />
|
||||
<orderEntry type="library" name="netty-codec-http" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.copyright" />
|
||||
</component>
|
||||
</module>
|
||||
16
python/python-copyright/intellij.python.copyright.iml
Normal file
16
python/python-copyright/intellij.python.copyright.iml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.copyright" />
|
||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.python.community.impl" />
|
||||
</component>
|
||||
</module>
|
||||
12
python/python-copyright/resources/META-INF/plugin.xml
Normal file
12
python/python-copyright/resources/META-INF/plugin.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<idea-plugin xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<name>Python Copyright</name>
|
||||
<id>org.jetbrains.plugins.python-copyright</id>
|
||||
<version>VERSION</version>
|
||||
<vendor>JetBrains</vendor>
|
||||
|
||||
<depends>com.intellij.modules.python</depends>
|
||||
<depends>com.intellij.copyright</depends>
|
||||
|
||||
<xi:include href="/META-INF/python-terminal-plugin.xml" xpointer="xpointer(/idea-plugin/*)"/>
|
||||
|
||||
</idea-plugin>
|
||||
@@ -1,5 +1,5 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.copyright">
|
||||
<updater filetype="Python" implementationClass="com.jetbrains.python.PyUpdateCopyrightsProvider"/>
|
||||
<updater filetype="Python" implementationClass="com.jetbrains.python.copyright.PyUpdateCopyrightsProvider"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.jetbrains.python
|
||||
package com.jetbrains.python.copyright
|
||||
|
||||
import com.intellij.openapi.fileTypes.FileType
|
||||
import com.intellij.openapi.module.Module
|
||||
@@ -9,8 +9,6 @@
|
||||
<!-- Enable command-line language -->
|
||||
<xi:include href="/META-INF/command-line.xml" xpointer="xpointer(/idea-plugin/*)"/>
|
||||
|
||||
<xi:include href="/META-INF/python-copyright.xml" xpointer="xpointer(/idea-plugin/*)"/>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<applicationInitializedListener implementation="com.jetbrains.python.testing.PyTestLegacyInteropInitializer"/>
|
||||
<psi.treeChangePreprocessor implementation="com.jetbrains.python.PythonPsiManager"/>
|
||||
|
||||
Reference in New Issue
Block a user