Haehnchen / idea-php-symfony2-plugin

IntelliJ IDEA / PhpStorm Symfony Plugin
https://plugins.jetbrains.com/plugin/7219
MIT License
913 stars 137 forks source link

Problems with symfony in subdirectory #1980

Open Richard87 opened 2 years ago

Richard87 commented 2 years ago

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 commented 2 years ago

Similar issues:

stalkerxxl commented 1 year ago

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

RobinDvorak commented 1 year ago

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