-
Notifications
You must be signed in to change notification settings - Fork 185
PHP Language Server never stops parsing files #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Duplicate of #311 |
@felixfbecker This is still happening, updated version and #311 does not fix this. |
I can confirm that this is still happening. I can bake a pizza on my laptop. |
In my case, the parsing of php files stopped by disabling PHP IntelliSense extension |
that's true |
I disabled PHP intellisense and it fixed the issue. |
yep, uninstall php intellisense extension. it doesn't work properly. |
That's right -> in my case I had to uninstall the php intellisense extension to stop endless parsing... |
I also still have this issue. And it's creating dozens (9000+) of totally wrong error messages. |
I have it since a few hours, it worked perfectly for months. |
Same here |
Also have this issue |
same here after update |
alsi i have this issue |
Me too - MAC fans are spinning triple time and VSC is nearly unusable. |
i also have this issue after updating, was working fine before |
Same here, can't stop parsing the files. |
I also appeared after updating VSC. Is it a bug? |
Worked fine for me yesterday. Just started doing this today. |
Just uninstall PHP IntelliSence and install PHP Intelephense |
Thanks @Crayzo . PHP Intelephense is perfect! |
PHP intellisense is going nuts ... just uninstall this ram eater .. |
I also had the same issue. Disabling PHP IntelliSence was the solution. |
Same issue here, and resolve by disabling PHP Intelephense extension. Many thanks. |
DIsabled the PHP IntelliSense and the problem disappear. Thanks for the tip! |
And if I want to keep IntelliSense ? Any way to exclude folder from parsing ? |
The problem is back again, worked about perfect for 4 weeks. |
Intelephense is the way to go! Thanks to everyone here that recommended it! |
Have the problem aswell :( |
Switched to Intelephense as well. |
Intelephense here too! |
Seems like vscode-intellisense (or php-language-server?) should be deprecated since it performs so poorly compared to alternatives. It's a very frustrating experience trying to figure out which extension is eating your computer alive I originally thought for many months that vscode just didn't work well with PHP, so this extension actually negatively impacted my ability to do my job since I couldn't properly work on PHP code and didn't want to leave VSCode. |
bye bye PHP intellisense... |
PHP IntelliSense extension should be disabled to stop parsing the PHP files. |
|
Oh goodness, disabled php intellisense. |
I experience this problem on some repos and not others. I suspect it's down to submodules rather than size, though I'm going to disable for now. Hopefully this gives others who need to troubleshoot this more a direction. |
Thanks. Disabling php intellisense worked for me too. |
Thanks. Disabling php intellisense worked for me too. But I need php intellisense extensions |
@raftaar1191 use intelliphense |
Same here, unistalling intelillisense makes everything work fine. |
thanks for suggestion |
Intelephense uses to eat my computer resources, It's a shame that PHP Intellisense takes so long to parse my files. |
Disable PHP Intelisense for all vscode or at least for big workspaces (The bigger the workspace the worst...) 👍 |
Literally, you don't need a room heater, if you have PHP intellisense enabled and working on a Drupal site |
I have updated both my Memory Settings for PHP Intellisense and the memory used for Large Files for Visual Code to use less memory and it seems to make things faster and doesn't always the Language server the whole time on my site and my Total Memory usage has also reduced |
I am getting this too in 2024 with PHP Intelephense |
I have a project which contains around 38,000 files. 8,500 of them are
.php
files. The PHP Language Server is stuck in a loop parsing the PHP files, and does not complete.Watching the
Output
of the PHP Language Server, it appears to parse all of the files but then starts again at the first directory in the project, with no additional output other thanParsing <file>
.What can I do to help debug this problem? I've had to disable the extension on this project as it's eating up my CPU :-)
There is one error that appears in the developer console:
The text was updated successfully, but these errors were encountered: