[Flow] Opinions? Setting up PhpStorm projects

Aske Ertmann aske at moc.net
Tue Aug 27 10:20:03 CEST 2013


Hi Jacob

I use the latter. Haven't set up PHPUnit in PhpStorm currently through, but did have it working at some point..

I wouldn't want to open a new project every time I need to work in another package since I often change code in multiple packages during a workflow.

Also code completion works perfectly fine when having the whole distribution as a project with a few excluded folders, without having to add specific library sources.

Haven't experienced that PhpStorm wanted me to rename stuff in TYPO3.Flow, so not sure about that one.

Aske

On 16/08/2013, at 23.18, Jacob Floyd wrote:

> I see two ways (maybe there's more?) to set up PhpStorm projects.
> 
> 1) I can create a PhpStorm project for each package, and then add all of the Flow packages and other dependencies as Includes.
> * this is great because code completion works while the environment is focused on what I'm working with.
> * Using PhpUnit from within PhpStorm is awkward at best this way. I've been working on setting up a distribution somewhere else
> 
> 2) I can create a super PhpStorm project for a flow distribution that includes that package I'm working on.
> * this means I need to exclude all of the dependencies folders so that search/refactor doesn't keep asking if I want to change the code in the other packages as well (No, PhpStorm, I don't want to rename anything in TYPO3.Flow. Stop asking).
> * following Karsten's guides[1] for using PhpStorm/PhpUnit is more straightforward.
> 
> So, what do you prefer? Do you have a project per package (it looks like Flow has an .idea folder in the repo...?) or per distribution? If you do it per package, how do you use PhpUnit?
> 
> Thanks,
> Jacob Floyd
> 
> [1] http://blog.k-fish.de/2011/12/setting-up-phpstorm-for-use-as-flow3.html
> http://blog.k-fish.de/2011/12/setting-up-phpstorm-for-use-as-flow3_19.html
> http://blog.k-fish.de/2012/11/menage-trois-typo3-flow-phpunit-composer.html
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow



More information about the Flow mailing list