As I know for now there is no any feature to do that in intellij idea. I dont know why but they dont support to do that, at least this is the result which I found with all my re
In Intellij 2017.2, you can easly load/unload modules or groups of modules :
Warning : This is an "experimental" feature
Ref : jetbrains site