Module based project structure in PHPStorm

Hi there

I have heard that you can have module based project structure in IntelliJ IDEA.
Since then I'm wondering if I can have such thing in PHPStorm. Is it possible?

Say we have the following complex project structure:

- www.contoso.com
  - application
  - public
  - library
  - tests



- web.contoso.com
  - application
  - public
  - library
  - tests

- common_logic
  - library
  - models
  - tests

- library
  - Zend
  - System

If got it right, in IntelliJ IDEA you can have www.contoso.com as main(single) project
and add all other linked projects as it's modules. Right? So, all of these are separate
projects but they all may share any number of commons.
I know that I can have single project in it's own frame(window) per project. But I'm
looking for something that will allow me to have all of them under one hood. Something
similar you can see in Zend Studio - you can create/add as many linked projects as you
need and they all will remain within one Zend Studio instance.
Anyway, since IntelliJ IDEA has that module based thing, can I utilize it in PHPStorm
to try to achive the goal mentioned above. If not - what options do we have here?

Thanks,
Eugene

1 comment
Comment actions Permalink

Hi there,

Anyway, since IntelliJ IDEA has that module based thing, can I utilize it in PHPStorm to try to achive the goal mentioned above.

Nope. http://youtrack.jetbrains.com/issue/WI-15187

If not - what options do we have here?

You can add folders of other projects as Content Roots (Settings | Directories) -- this will add files into the project (so you can edit them etc) .. but actual sub-project settings will remain untouched/will not be imported in any way (in other words: master project settings will apply to all files)

0

Please sign in to leave a comment.