Can't rename/refactor a split package

Our projects are getting more complex, and I started hitting this problem much more often, up to a point where IDEA stands in a way   Would appreciate any feedback.

moduleA
----- package com.foo
----------ClassA

moduleB
----- package com.foo
----------ClassB

Now, when I try to refactor moduleB and rename com.foo to com.bar, IDEA prompts that *every* other module's package will be moded too. Hit no, get back to square 1. Is there a way to perform a module-scoped refactoring?

0
Avatar
Permanently deleted user

Hello Andrew,

Thank you for pointing this out. Fixed.

-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

Our projects are getting more complex, and I started hitting this
problem much more often, up to a point where IDEA stands in a way
Would appreciate any feedback.

moduleA
----- package com.foo
----------ClassA
moduleB
----- package com.foo
----------ClassB
Now, when I try to refactor moduleB and rename com.foo to com.bar,
IDEA prompts that every other module's package will be moded too.
Hit no, get back to square 1. Is there a way to perform a
module-scoped refactoring?

---
Original message URL:
http://www.jetbrains.net/devnet/message/5243050#5243050



0

请先登录再写评论。