idea-php-symfony2-plugin icon indicating copy to clipboard operation
idea-php-symfony2-plugin copied to clipboard

Problems with symfony in subdirectory

Open Richard87 opened this issue 3 years ago • 3 comments

Hi!

we have structured our application (mono-repo-ish) with a frontend folder, and a backend folder (that contains our symfony project).

How can I tell the plugin to look in the backend folder for all the relevant files?

I added "backend/templates" as with empty namespace (showed up as __main__), but it is not working

Also, running Commands from the margin play button fails with:

Error running 'app:test:push-notification'

Cannot run program "bin/console" (in directory "/Users/richard/Projects/.../project"): error=2, No such file or director

(EDIT) I am running latest PHPStorm Build #PS-222.3153.10, built on June 22, 2022 / PhpStorm 2022.2 EAP Symfony plugin: 2022.1.228

Richard87 avatar Jun 28 '22 09:06 Richard87

Similar issues:

  • https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/429
  • https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/131
  • https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/170
  • https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/13
  • https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/138

Richard87 avatar Jun 28 '22 09:06 Richard87

I confirm, there is such a problem (if the Symfony app is located in a subdirectory, for example "api)"

stalkerxxl avatar Jul 08 '23 08:07 stalkerxxl

Hello, are there any updates to possibility of setting "working directory" to support monorepos?

RobinDvorak avatar Sep 04 '23 09:09 RobinDvorak