Rename: When renaming Kotlin file outside of source root do not rename its namesake in a source root

#KT-14096 Fixed
This commit is contained in:
Alexey Sedunov
2016-09-29 14:40:35 +03:00
parent a5eee2d3d8
commit c76c834009
13 changed files with 87 additions and 32 deletions
@@ -0,0 +1,11 @@
<?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" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
@@ -0,0 +1,3 @@
package foo
fun test()
@@ -0,0 +1,3 @@
package foo
fun test()
@@ -0,0 +1,11 @@
<?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" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
@@ -0,0 +1,3 @@
package foo
fun test()
@@ -0,0 +1,3 @@
package foo
fun test()
@@ -0,0 +1,6 @@
{
"type": "FILE",
"file": "A/notSrc/test.kt",
"newName": "test2.kt",
"isMultiModule": "true"
}