Edit moduleshared across projects
Hello,
I'm new to IntelliJidea and I'm trying to plan a migration from Netbeans.
In Netbeans, there's no concept related to Module and Projects, everything is open in a single window.
In Netbeans I have 20 projects (not always open) and 2 of them are shared projects.
So, thinking in IntelliJ way, I'd group them into 4 projects and 2 shared projects.
So, in IntelliJ, I'll start to create the 2 shared projects.
Then I create 4 projects and I link the previously created projects as a module.
This way, The IDE resolves every link and they're working correctly.
But, being that shared modules are shared across 4 IntelliJidea projects, if I must modify a method or a class (for example I rename a method), how could I automatically get it refactored over ALL of the projects where I have that shared module?
I also tried the workaround to create only one project and create all my projects as module but I don't like it.
Thank you very much for your help.
请先登录再写评论。
>But, being that shared modules are shared across 4 IntelliJidea projects, if I must modify a method or a class (for example I rename a method), how could I automatically get it refactored over ALL of the projects where I have that shared module?
You need to have all other modules/projects that use this module's classes under a single IDEA project window.