mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[Grazie] IJ-MR-9287 Migrating to classloaders per optional dependency
GitOrigin-RevId: 7ebd80a660dd9c7025e7ba4dda96c915303cc0e4
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e3d1fa675a
commit
f9935e1f82
7
.idea/modules.xml
generated
7
.idea/modules.xml
generated
@@ -516,7 +516,14 @@
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/gradle/tooling-extension-impl/intellij.gradle.toolingExtension.tests.iml" filepath="$PROJECT_DIR$/plugins/gradle/tooling-extension-impl/intellij.gradle.toolingExtension.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/gradle/tooling-proxy/intellij.gradle.toolingProxy.iml" filepath="$PROJECT_DIR$/plugins/gradle/tooling-proxy/intellij.gradle.toolingProxy.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/intellij.grazie.iml" filepath="$PROJECT_DIR$/plugins/grazie/intellij.grazie.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/src/intellij.grazie.core.iml" filepath="$PROJECT_DIR$/plugins/grazie/src/intellij.grazie.core.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/java/intellij.grazie.java.iml" filepath="$PROJECT_DIR$/plugins/grazie/java/intellij.grazie.java.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/json/intellij.grazie.json.iml" filepath="$PROJECT_DIR$/plugins/grazie/json/intellij.grazie.json.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/markdown/intellij.grazie.markdown.iml" filepath="$PROJECT_DIR$/plugins/grazie/markdown/intellij.grazie.markdown.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/properties/intellij.grazie.properties.iml" filepath="$PROJECT_DIR$/plugins/grazie/properties/intellij.grazie.properties.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/src/test/intellij.grazie.tests.iml" filepath="$PROJECT_DIR$/plugins/grazie/src/test/intellij.grazie.tests.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/xml/intellij.grazie.xml.iml" filepath="$PROJECT_DIR$/plugins/grazie/xml/intellij.grazie.xml.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/grazie/yaml/intellij.grazie.yaml.iml" filepath="$PROJECT_DIR$/plugins/grazie/yaml/intellij.grazie.yaml.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/groovy/intellij.groovy.iml" filepath="$PROJECT_DIR$/plugins/groovy/intellij.groovy.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/groovy/rt-constants/intellij.groovy.constants.rt.iml" filepath="$PROJECT_DIR$/plugins/groovy/rt-constants/intellij.groovy.constants.rt.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/plugins/groovy/jps-plugin/intellij.groovy.jps.iml" filepath="$PROJECT_DIR$/plugins/groovy/jps-plugin/intellij.groovy.jps.iml" />
|
||||
|
||||
@@ -188,6 +188,15 @@ final class CommunityRepositoryModules {
|
||||
plugin("intellij.android.jpsBuildPlugin") {
|
||||
withModule("intellij.android.jpsBuildPlugin.common")
|
||||
withModule("intellij.android.jpsBuildPlugin.jps", "jps/android-jps-plugin.jar")
|
||||
},
|
||||
plugin("intellij.grazie") {
|
||||
withModule("intellij.grazie.core")
|
||||
withModule("intellij.grazie.java")
|
||||
withModule("intellij.grazie.json")
|
||||
withModule("intellij.grazie.markdown")
|
||||
withModule("intellij.grazie.properties")
|
||||
withModule("intellij.grazie.xml")
|
||||
withModule("intellij.grazie.yaml")
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
@@ -3,267 +3,16 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.11" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.11" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlinx/kotlinx-html-jvm/0.6.11/kotlinx-html-jvm-0.6.11.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlinx/kotlinx-html-jvm/0.6.11/kotlinx-html-jvm-0.6.11-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
|
||||
<orderEntry type="library" name="jackson" level="project" />
|
||||
<orderEntry type="library" name="jackson-databind" level="project" />
|
||||
<orderEntry type="library" name="Slf4j" level="project" />
|
||||
<orderEntry type="library" name="commons-lang3" level="project" />
|
||||
<orderEntry type="library" name="commons-logging" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.apache.commons:commons-text:1.8" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.apache.commons:commons-text:1.8" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.8/commons-text-1.8.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.8/commons-text-1.8-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
|
||||
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
|
||||
<orderEntry type="module" module-name="intellij.spellchecker" />
|
||||
<orderEntry type="library" name="miglayout-swing" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.java" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi.impl" />
|
||||
<orderEntry type="module" module-name="intellij.properties" />
|
||||
<orderEntry type="module" module-name="intellij.json" />
|
||||
<orderEntry type="module" module-name="intellij.markdown" />
|
||||
<orderEntry type="module" module-name="intellij.yaml" />
|
||||
<orderEntry type="module" module-name="intellij.xml.psi.impl" />
|
||||
<orderEntry type="library" name="swingx" level="project" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="tanvd.grazi:grazi-language-detector:0.1.13" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tanvd.grazi:grazi-language-detector:0.1.13" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tanvd/grazi/grazi-language-detector/0.1.13/grazi-language-detector-0.1.13.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tanvd/grazi/grazi-language-detector/0.1.13/grazi-language-detector-0.1.13-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" scope="RUNTIME" name="jna" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Guava" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.languagetool:languagetool-core:5.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.languagetool:languagetool-core:5.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/languagetool/languagetool-core/5.2/languagetool-core-5.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.languagetool:language-en:5.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.languagetool:language-en:5.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/languagetool/language-en/5.2/language-en-5.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="net.loomchild:segment:2.0.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="net.loomchild:segment:2.0.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/net/loomchild/segment/2.0.1/segment-2.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/net/loomchild/segment/2.0.1/segment-2.0.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-stemming:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-stemming:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-stemming/2.1.7/morfologik-stemming-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-stemming/2.1.7/morfologik-stemming-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-speller:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-speller:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-speller/2.1.7/morfologik-speller-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-speller/2.1.7/morfologik-speller-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.carrotsearch:hppc:0.8.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.carrotsearch:hppc:0.8.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/carrotsearch/hppc/0.8.1/hppc-0.8.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/carrotsearch/hppc/0.8.1/hppc-0.8.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-fsa-builders:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-fsa-builders:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa-builders/2.1.7/morfologik-fsa-builders-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa-builders/2.1.7/morfologik-fsa-builders-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-fsa:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-fsa:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa/2.1.7/morfologik-fsa-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa/2.1.7/morfologik-fsa-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.statistics" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="jetbrains-annotations" level="project" />
|
||||
<orderEntry type="library" name="fastutil-min" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.classLoader" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="tech.uom.lib:uom-lib-common:1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tech.uom.lib:uom-lib-common:1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/uom/lib/uom-lib-common/1.1/uom-lib-common-1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/uom/lib/uom-lib-common/1.1/uom-lib-common-1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="tech.units:indriya:1.3" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tech.units:indriya:1.3" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/units/indriya/1.3/indriya-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/units/indriya/1.3/indriya-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="javax.measure:unit-api:1.0" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="javax.measure:unit-api:1.0" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/javax/measure/unit-api/1.0/unit-api-1.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/javax/measure/unit-api/1.0/unit-api-1.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="javax.activation" level="project" />
|
||||
<orderEntry type="library" name="javax.annotation-api" level="project" />
|
||||
<orderEntry type="library" name="jaxb-api" level="project" />
|
||||
<orderEntry type="library" name="jaxb-runtime" level="project" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.gitlab.dumonts:hunspell:1.1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.gitlab.dumonts:hunspell:1.1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/gitlab/dumonts/hunspell/1.1.1/hunspell-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.nativelibs4java:bridj:0.7.0" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.nativelibs4java:bridj:0.7.0" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/nativelibs4java/bridj/0.7.0/bridj-0.7.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.google.android.tools:dx:1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.google.android.tools:dx:1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/tools/dx/1.7/dx-1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.hankcs:aho-corasick-double-array-trie:1.2.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.hankcs:aho-corasick-double-array-trie:1.2.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/hankcs/aho-corasick-double-array-trie/1.2.2/aho-corasick-double-array-trie-1.2.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.vdurmont:emoji-java:5.1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.vdurmont:emoji-java:5.1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/vdurmont/emoji-java/5.1.1/emoji-java-5.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.json:json:20170516" type="repository">
|
||||
<properties maven-id="org.json:json:20170516" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/json/json/20170516/json-20170516.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.core.ui" />
|
||||
<orderEntry type="module" module-name="intellij.properties.psi" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" exported="" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.java" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.json" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.markdown" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.properties" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.xml" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.yaml" />
|
||||
</component>
|
||||
</module>
|
||||
18
plugins/grazie/java/intellij.grazie.java.iml
Normal file
18
plugins/grazie/java/intellij.grazie.java.iml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.java" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi" />
|
||||
<orderEntry type="module" module-name="intellij.java.psi.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,10 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.java">
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.modules.java"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="JAVA" implementationClass="com.intellij.grazie.ide.language.java.JavaGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
17
plugins/grazie/json/intellij.grazie.json.iml
Normal file
17
plugins/grazie/json/intellij.grazie.json.iml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.json" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,9 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.json">
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.modules.json"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="JSON" implementationClass="com.intellij.grazie.ide.language.json.JsonGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
17
plugins/grazie/markdown/intellij.grazie.markdown.iml
Normal file
17
plugins/grazie/markdown/intellij.grazie.markdown.iml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.markdown" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,10 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.markdown">
|
||||
<dependencies>
|
||||
<plugin id="org.intellij.plugins.markdown"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="Markdown"
|
||||
implementationClass="com.intellij.grazie.ide.language.markdown.MarkdownGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
19
plugins/grazie/properties/intellij.grazie.properties.iml
Normal file
19
plugins/grazie/properties/intellij.grazie.properties.iml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.properties" />
|
||||
<orderEntry type="module" module-name="intellij.properties.psi" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,10 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.properties">
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.properties"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="Properties"
|
||||
implementationClass="com.intellij.grazie.ide.language.properties.PropertyGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,4 +1,4 @@
|
||||
<idea-plugin>
|
||||
<idea-plugin package="com.intellij.grazie">
|
||||
<id>tanvd.grazi</id>
|
||||
<name>Grazie</name>
|
||||
<vendor>JetBrains</vendor>
|
||||
@@ -19,12 +19,21 @@
|
||||
<p><strong>NOTE:</strong> All verification is performed locally, inside your IDE.</p>
|
||||
]]></description>
|
||||
|
||||
<depends optional="true" config-file="grazie-java.xml">com.intellij.modules.java</depends>
|
||||
<depends optional="true" config-file="grazie-json.xml">com.intellij.modules.json</depends>
|
||||
<depends optional="true" config-file="grazie-markdown.xml">org.intellij.plugins.markdown</depends>
|
||||
<depends optional="true" config-file="properties.xml">com.intellij.properties</depends>
|
||||
<depends optional="true" config-file="grazie-xml.xml">com.intellij.modules.xml</depends>
|
||||
<depends optional="true" config-file="grazie-yaml.xml">org.jetbrains.plugins.yaml</depends>
|
||||
<content>
|
||||
<module name="intellij.grazie.java" package="com.intellij.grazie.ide.language.java"/>
|
||||
<module name="intellij.grazie.json" package="com.intellij.grazie.ide.language.json"/>
|
||||
<module name="intellij.grazie.markdown" package="com.intellij.grazie.ide.language.markdown"/>
|
||||
<module name="intellij.grazie.properties" package="com.intellij.grazie.ide.language.properties"/>
|
||||
<module name="intellij.grazie.xml" package="com.intellij.grazie.ide.language.xml"/>
|
||||
<module name="intellij.grazie.yaml" package="com.intellij.grazie.ide.language.yaml"/>
|
||||
</content>
|
||||
|
||||
<depends optional="true" config-file="intellij.grazie.java.xml">com.intellij.modules.java</depends>
|
||||
<depends optional="true" config-file="intellij.grazie.json.xml">com.intellij.modules.json</depends>
|
||||
<depends optional="true" config-file="intellij.grazie.markdown.xml">org.intellij.plugins.markdown</depends>
|
||||
<depends optional="true" config-file="intellij.grazie.properties.xml">com.intellij.properties</depends>
|
||||
<depends optional="true" config-file="intellij.grazie.xml.xml">com.intellij.modules.xml</depends>
|
||||
<depends optional="true" config-file="intellij.grazie.yaml.xml">org.jetbrains.plugins.yaml</depends>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<applicationService serviceImplementation="com.intellij.grazie.GrazieConfig"/>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
264
plugins/grazie/src/intellij.grazie.core.iml
Normal file
264
plugins/grazie/src/intellij.grazie.core.iml
Normal file
@@ -0,0 +1,264 @@
|
||||
<?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$/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.11" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.11" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlinx/kotlinx-html-jvm/0.6.11/kotlinx-html-jvm-0.6.11.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlinx/kotlinx-html-jvm/0.6.11/kotlinx-html-jvm-0.6.11-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="library" name="jackson-module-kotlin" level="project" />
|
||||
<orderEntry type="library" name="jackson" level="project" />
|
||||
<orderEntry type="library" name="jackson-databind" level="project" />
|
||||
<orderEntry type="library" name="Slf4j" level="project" />
|
||||
<orderEntry type="library" name="commons-lang3" level="project" />
|
||||
<orderEntry type="library" name="commons-logging" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.apache.commons:commons-text:1.8" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.apache.commons:commons-text:1.8" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.8/commons-text-1.8.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/apache/commons/commons-text/1.8/commons-text-1.8-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.serviceContainer" />
|
||||
<orderEntry type="module" module-name="intellij.platform.vcs.impl" />
|
||||
<orderEntry type="module" module-name="intellij.spellchecker" />
|
||||
<orderEntry type="library" name="miglayout-swing" level="project" />
|
||||
<orderEntry type="library" name="swingx" level="project" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="tanvd.grazi:grazi-language-detector:0.1.13" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tanvd.grazi:grazi-language-detector:0.1.13" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tanvd/grazi/grazi-language-detector/0.1.13/grazi-language-detector-0.1.13.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tanvd/grazi/grazi-language-detector/0.1.13/grazi-language-detector-0.1.13-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" scope="RUNTIME" name="jna" level="project" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="Guava" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.languagetool:languagetool-core:5.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.languagetool:languagetool-core:5.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/languagetool/languagetool-core/5.2/languagetool-core-5.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.languagetool:language-en:5.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.languagetool:language-en:5.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/languagetool/language-en/5.2/language-en-5.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="net.loomchild:segment:2.0.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="net.loomchild:segment:2.0.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/net/loomchild/segment/2.0.1/segment-2.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/net/loomchild/segment/2.0.1/segment-2.0.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-stemming:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-stemming:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-stemming/2.1.7/morfologik-stemming-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-stemming/2.1.7/morfologik-stemming-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-speller:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-speller:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-speller/2.1.7/morfologik-speller-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-speller/2.1.7/morfologik-speller-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.carrotsearch:hppc:0.8.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.carrotsearch:hppc:0.8.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/carrotsearch/hppc/0.8.1/hppc-0.8.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/carrotsearch/hppc/0.8.1/hppc-0.8.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-fsa-builders:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-fsa-builders:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa-builders/2.1.7/morfologik-fsa-builders-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa-builders/2.1.7/morfologik-fsa-builders-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.carrot2:morfologik-fsa:2.1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="org.carrot2:morfologik-fsa:2.1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa/2.1.7/morfologik-fsa-2.1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/carrot2/morfologik-fsa/2.1.7/morfologik-fsa-2.1.7-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.statistics" />
|
||||
<orderEntry type="library" scope="RUNTIME" name="jetbrains-annotations" level="project" />
|
||||
<orderEntry type="library" name="fastutil-min" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.classLoader" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="tech.uom.lib:uom-lib-common:1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tech.uom.lib:uom-lib-common:1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/uom/lib/uom-lib-common/1.1/uom-lib-common-1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/uom/lib/uom-lib-common/1.1/uom-lib-common-1.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="tech.units:indriya:1.3" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="tech.units:indriya:1.3" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/units/indriya/1.3/indriya-1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/tech/units/indriya/1.3/indriya-1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="javax.measure:unit-api:1.0" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="javax.measure:unit-api:1.0" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/javax/measure/unit-api/1.0/unit-api-1.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/javax/measure/unit-api/1.0/unit-api-1.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="javax.activation" level="project" />
|
||||
<orderEntry type="library" name="javax.annotation-api" level="project" />
|
||||
<orderEntry type="library" name="jaxb-api" level="project" />
|
||||
<orderEntry type="library" name="jaxb-runtime" level="project" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.gitlab.dumonts:hunspell:1.1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.gitlab.dumonts:hunspell:1.1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/gitlab/dumonts/hunspell/1.1.1/hunspell-1.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.nativelibs4java:bridj:0.7.0" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.nativelibs4java:bridj:0.7.0" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/nativelibs4java/bridj/0.7.0/bridj-0.7.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.google.android.tools:dx:1.7" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.google.android.tools:dx:1.7" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/android/tools/dx/1.7/dx-1.7.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.hankcs:aho-corasick-double-array-trie:1.2.2" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.hankcs:aho-corasick-double-array-trie:1.2.2" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/hankcs/aho-corasick-double-array-trie/1.2.2/aho-corasick-double-array-trie-1.2.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="com.vdurmont:emoji-java:5.1.1" type="repository">
|
||||
<properties include-transitive-deps="false" maven-id="com.vdurmont:emoji-java:5.1.1" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/vdurmont/emoji-java/5.1.1/emoji-java-5.1.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library name="org.json:json:20170516" type="repository">
|
||||
<properties maven-id="org.json:json:20170516" />
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/json/json/20170516/json-20170516.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module" module-name="intellij.platform.core.ui" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ui" />
|
||||
<orderEntry type="module" module-name="intellij.platform.ide.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.lang.impl" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -14,7 +14,6 @@ import com.intellij.openapi.components.service
|
||||
import com.intellij.util.containers.CollectionFactory
|
||||
import com.intellij.util.xmlb.annotations.Property
|
||||
import java.util.*
|
||||
import kotlin.collections.HashSet
|
||||
|
||||
@State(name = "GraziConfig", presentableName = GrazieConfig.PresentableNameGetter::class, storages = [
|
||||
Storage("grazie_global.xml"),
|
||||
|
||||
@@ -5,7 +5,6 @@ import com.intellij.grazie.GrazieConfig
|
||||
import com.intellij.grazie.config.DetectionContext
|
||||
import com.intellij.grazie.detector.chain.ChainDetectorBuilder
|
||||
import com.intellij.grazie.detector.model.Language
|
||||
import com.intellij.grazie.ide.fus.GrazieFUSCounter
|
||||
import com.intellij.grazie.ide.msg.GrazieStateLifecycle
|
||||
import com.intellij.grazie.jlanguage.Lang
|
||||
import com.intellij.grazie.utils.lazyConfig
|
||||
|
||||
@@ -10,8 +10,6 @@ import com.intellij.grazie.utils.length
|
||||
import com.intellij.grazie.utils.toPointer
|
||||
import com.intellij.psi.PsiElement
|
||||
import com.intellij.refactoring.suggested.startOffset
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
object GrammarChecker {
|
||||
private data class ShiftInText(val start: Int, val length: Int, val totalDeleted: Int)
|
||||
|
||||
@@ -15,7 +15,6 @@ import com.intellij.psi.util.elementType
|
||||
import com.intellij.refactoring.suggested.endOffset
|
||||
import com.intellij.refactoring.suggested.startOffset
|
||||
import java.util.*
|
||||
import kotlin.collections.ArrayList
|
||||
|
||||
internal class GraziePsiElementProcessor<T : PsiElement>(
|
||||
private val commonParent: PsiElement,
|
||||
|
||||
@@ -16,7 +16,7 @@ object StrategyUtils {
|
||||
private val EMPTY_LINKED_SET = LinkedSet<Nothing>()
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
internal fun <T> emptyLinkedSet(): LinkedSet<T> = EMPTY_LINKED_SET as LinkedSet<T>
|
||||
fun <T> emptyLinkedSet(): LinkedSet<T> = EMPTY_LINKED_SET as LinkedSet<T>
|
||||
|
||||
/**
|
||||
* Get extension point of [strategy]
|
||||
@@ -27,7 +27,7 @@ object StrategyUtils {
|
||||
return LanguageGrammarChecking.getExtensionPointByStrategy(strategy) ?: error("Strategy is not registered")
|
||||
}
|
||||
|
||||
internal fun getTextDomainOrDefault(strategy: GrammarCheckingStrategy, root: PsiElement, default: TextDomain): TextDomain {
|
||||
fun getTextDomainOrDefault(strategy: GrammarCheckingStrategy, root: PsiElement, default: TextDomain): TextDomain {
|
||||
val extension = getStrategyExtensionPoint(strategy)
|
||||
if (extension.language != root.language.id) return default
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2019 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.intellij.grazie.grammar.strategy.impl
|
||||
|
||||
import com.intellij.grazie.utils.Text
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.intellij.grazie.jlanguage.filters
|
||||
import org.languagetool.markup.AnnotatedText
|
||||
import org.languagetool.rules.RuleMatch
|
||||
import org.languagetool.rules.RuleMatchFilter
|
||||
import java.util.*
|
||||
import java.util.function.Consumer
|
||||
|
||||
class UppercaseMatchFilter : RuleMatchFilter {
|
||||
|
||||
@@ -43,4 +43,4 @@ open class RuleGroup(rules: Set<String>) {
|
||||
override fun equals(other: Any?): Boolean = this === other || other is RuleGroup && rules == other.rules
|
||||
override fun hashCode(): Int = rules.hashCode()
|
||||
override fun toString(): String = rules.toString()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ package com.intellij.grazie.utils
|
||||
|
||||
import org.languagetool.rules.RuleMatch
|
||||
import java.util.*
|
||||
import kotlin.collections.LinkedHashSet
|
||||
|
||||
fun RuleMatch.toIntRange(offset: Int = 0) = IntRange(fromPos + offset, toPos + offset - 1)
|
||||
|
||||
@@ -22,4 +21,4 @@ val IntRange.length
|
||||
get() = endInclusive - start + 1
|
||||
|
||||
|
||||
fun <T> Enumeration<T>.toSet() = toList().toSet()
|
||||
fun <T> Enumeration<T>.toSet() = toList().toSet()
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="JAVA" implementationClass="com.intellij.grazie.ide.language.java.JavaGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="JSON" implementationClass="com.intellij.grazie.ide.language.json.JsonGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,6 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="Markdown"
|
||||
implementationClass="com.intellij.grazie.ide.language.markdown.MarkdownGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,5 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="XML" implementationClass="com.intellij.grazie.ide.language.xml.XmlGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,5 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="yaml" implementationClass="com.intellij.grazie.ide.language.yaml.YamlGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -1,6 +0,0 @@
|
||||
<idea-plugin>
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="Properties"
|
||||
implementationClass="com.intellij.grazie.ide.language.properties.PropertyGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
@@ -8,8 +8,8 @@
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="intellij.grazie" />
|
||||
<orderEntry type="module" module-name="intellij.spellchecker" />
|
||||
<orderEntry type="module" module-name="intellij.grazie" />
|
||||
<orderEntry type="library" name="kotlin-test" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.java.testFramework" exported="" />
|
||||
<orderEntry type="module-library" scope="TEST">
|
||||
|
||||
17
plugins/grazie/xml/intellij.grazie.xml.iml
Normal file
17
plugins/grazie/xml/intellij.grazie.xml.iml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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$/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.xml.psi.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,9 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.xml">
|
||||
<dependencies>
|
||||
<plugin id="com.intellij.modules.xml"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="XML" implementationClass="com.intellij.grazie.ide.language.xml.XmlGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
18
plugins/grazie/yaml/intellij.grazie.yaml.iml
Normal file
18
plugins/grazie/yaml/intellij.grazie.yaml.iml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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$/main/kotlin" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/main/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="library" name="kotlin-stdlib-jdk8" level="project" />
|
||||
<orderEntry type="module" module-name="intellij.grazie.core" />
|
||||
<orderEntry type="module" module-name="intellij.yaml" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core" />
|
||||
<orderEntry type="module" module-name="intellij.platform.core.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.util.ex" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,9 @@
|
||||
<idea-plugin package="com.intellij.grazie.ide.language.yaml">
|
||||
<dependencies>
|
||||
<plugin id="org.jetbrains.plugins.yaml"/>
|
||||
</dependencies>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij.grazie">
|
||||
<grammar.strategy language="yaml" implementationClass="com.intellij.grazie.ide.language.yaml.YamlGrammarCheckingStrategy"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
Reference in New Issue
Block a user