I have a project with composer.json that adds a lot of modules as dependencies, and I want to be able to work on them in one PHPStorm project. When I make changes to the file in the vendor directory and run the git status in the CLI, I see the differences, however the PHPStorm built-in tools do not register the changes (there is no blue line in the left side panel).
If I go to the project settings and add a specific provider dependency as the git root in the folder containing the .git folder, the IDE will start working as I expect / hope.
However, I do not want to repeat this process for all my addictions, does it feel too much manual work? Is there a better way?
Update : there is still no joy, the "Show History" button does not work when I use the provider as a source.
Here is my project structure:
- /home/PhpstormProjects/MyProject/.idea
- (The folder is stored separately so that VCS does not ignore .idea)
- / home / my-project / HTDOCS /
- (Resource Root, which has a .git repository, autocomplete PHPStorm)
- / home / my-project / seller / modulenamespace / module_name /
- (several modules, each of which contains .git, but NOT automatically recognized by PHPStorm)
source
share