bmewburn / intelephense-docs

Documentation for the Intelephense PHP language server
https://intelephense.com
Other
184 stars 17 forks source link

Intelephense confused with same file in two project #22

Open machekku opened 4 years ago

machekku commented 4 years ago

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.