WilliamSmithEdward Thank you for the information.
PHP Tools server started.
<-- is from an older PHP extension. The output should be different with the version 1.48
WilliamSmithEdward Thank you for the information.
PHP Tools server started.
<-- is from an older PHP extension. The output should be different with the version 1.48
JakubMisek My apologies. This is the output with version 1.48 where issue is happening:
[Info - 12:07:37 PM] PHP Language Server Started (PID: 32876)
[Info - 12:07:37 PM] Indexing [redacted url] (*.php; *.phtml)
Drowneed I was looking for some help getting this very same issue solved and ended up here. Facing exactly the same thing as you. Also no solution so far.
I went to great lengths at resolving this, I even rebuilt my dev-env
with no luck. However I noticed that this only happens with NginX
as webserver; it does not happen on Apache
.
MrSuddenJoy Thank you for the information.
This won't be related to the web server itself;
Do you use VSCode's Remote Workspace, WSL, or any 3rd party extension to open the remote server?
Apologies for the late reply, I had put the extension in 1.47 and completly forgot about it
Issue is still present in 1.49
On my side we are just connecting to our server as it's on the same network and opening the project from there never had any issues before
Here's the result of my output PHP Language Server :
[Info - 5:00:37 PM] PHP Language Server Started (PID: 28468)
[Info - 5:00:37 PM] Indexing 10.16.19.25/docker-data/dev_php8_1/dev/spa-avenue/hadrien (*.php; *.phtml; *.module; *.inc; *.theme)
Let me know if I can provide you with anything else
@JakubMisek Confirmed this is still happening as of 1.51.16078. Last working version was 1.47.15512
The Symfony project is on a remote computer's file storage, accessed over Windows File Share (SMB).
WilliamSmithEdward Thank you for the update. I will need to think about what we need in order to fix it ..
Does the VSCode status bar keep displaying "Indexing ..." ?
EDIT: nevermind, it wouldn't underline unknown classes if it would be saying "Indexing ..."
Hi! I know this is free software so I don't mean to pester and I appreciate the devs :) This is still a problem for me, and I would love to be able to keep up with the updates. If there's any additional information I can provide please let me know.
WilliamSmithEdward Hello William, please pester :) we appreciate good feedback, and anything we can improve.
I'm sorry this issue persists - may I ask for additional information?
> Clear /vendor/ Cache ...
?Thanks!
I am having a similar issue and I might have bumped the wrong topic here : https://community.devsense.com/d/2162-use-of-unknown-class-php0413/3
But there is definitely something going on with recognizing class (files) that are not open in editor even when they exist in the workspace
SergeyAntonov thank you for reminding me! I've answered in https://community.devsense.com/d/2162-use-of-unknown-class-php0413/4
Ok sorry for the double post, I dont know if and how my problem was related but i got it sorted out and replied to the other topic
SergeyAntonov no problem, I appreciate reporting the problem (anywhere!)