Made it possible to patch IDEA by adding class to idea_runner module.

See confluence page for details: http://confluence.jetbrains.com/display/JET/How+to+patch+IDEA+for+Kotlin
This commit is contained in:
Evgeny Gerashchenko
2014-10-08 21:26:00 +04:00
parent 9cdea0479c
commit 556b76d9a4
2 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
This module exists for the sole purpose of providing the classpath for the IDEA run configuration.
This run configuration takes a plugin from the KotlinPlugin artifact instead of the project's 'out' directory, which makes it possible for our plugin to depend on other plugins such as JUnit plugin.
This run configuration takes a plugin from the KotlinPlugin artifact instead of the project's 'out' directory, which makes it possible for our plugin to depend on other plugins such as JUnit plugin.
If you want to debug some patch to IDEA, you can add copy of IDEA class into this module and modify.
+4 -2
View File
@@ -2,10 +2,12 @@
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="RUNTIME" name="idea-full" level="project" />
<orderEntry type="library" name="idea-full" level="project" />
<orderEntry type="module" module-name="idea" scope="PROVIDED" />
</component>
</module>