php-language-server icon indicating copy to clipboard operation
php-language-server copied to clipboard

please add parsing to vscode-projects with multiple folders in workspace

Open marcosiegl opened this issue 6 years ago • 0 comments
trafficstars

Hi Felix,

due to multiple git repos in a project I had to add multiple folders to a projects in "my-project.code-workspace"-file. This is the offical way of including multiple folders, called "multi-root-workspaces", see: https://code.visualstudio.com/docs/editor/multi-root-workspaces

In this case I don't get any Intellisense at all. Please refer to the verbose debug output:

DEBUG Checking PHPLS_ALLOW_XDEBUG DEBUG The xdebug extension is loaded (2.7.2) DEBUG No restart (PHPLS_ALLOW_XDEBUG=1)

[Info - 3:22:59 PM] 0 files total [Info - 3:22:59 PM] Indexing project for definitions and static references [Info - 3:22:59 PM] Indexing project for dynamic references [Info - 3:22:59 PM] 0 Packages [Info - 3:22:59 PM] All 0 PHP files parsed in 0 seconds. 170 MiB allocated.

Hope this helps to bring PHP Intellisense a little step further ;)

Kind regards, Marco

marcosiegl avatar Oct 15 '19 13:10 marcosiegl