I have two unrelated projects that both use the same shared library. This library is included in both projects as a git submodule, making a directory structure like this:
ProjectA/
FileA1.php
FileA2.php
Library/
Shared1.php << this defines \Library\Shared1 class
Shared2.php
ProjectB/
FileB1.php
FileB2.php
Library/
Shared1.php << this defines \Library\Shared1 class, too
Shared2.php
If I open both project in the same workspace, then after some time intelephense will have a problem jumping to files in the shared library. For example, if I edit ProjectA/FileA1.php and jump to definition of Shared1 class, it will open ProjectB/Library/Shared1.php file.
I'd expect it to jump to the file in the same project.
Please let me know if I can provide any more details to help.
Hello,
I am using intelephense in Emacs lsp-mode.
I have two unrelated projects that both use the same shared library. This library is included in both projects as a git submodule, making a directory structure like this:
ProjectA/
ProjectB/
If I open both project in the same workspace, then after some time intelephense will have a problem jumping to files in the shared library. For example, if I edit ProjectA/FileA1.php and jump to definition of Shared1 class, it will open ProjectB/Library/Shared1.php file.
I'd expect it to jump to the file in the same project.
Please let me know if I can provide any more details to help.
Thanks.