Closed gstesan closed 7 months ago
Are there any errors from the extension in the output tab?
I don't know because I didn't know to look in the output tab of VSCode.
But I found the solution in /root/.vscode-server/data/logs/...intelephense.log The maximum file size was reached (so these files were not indexed). And intelephense indexed also a lot of unnecessary files like /.phpenv/versions/7.4 or /.phpenv/versions/8.0 - although the current php version used is 8.2.15. A cleanup of /.phpenv/versions/... and the following settings for intelephense helped me to get rid of the error "No symbols found in document".
"intelephense.files.maxSize": 1048576 intelephense.environment.documentRoot": "httpdocs" "intelephense.environment.phpVersion": "8.2.0"
Glad you got it working!
Hi Ben Newburn,
thank you for the VSCode premium extension; I have been using it since January 17, 2024. Unfortunately, since yesterday, I have been encountering the error message "No symbols found in document."
The workaround I found was to revert to your version v1.10.1, install it, but after some time, the same error occurred again. I then updated to v1.10.2, reloaded it, and the symbols appeared, but once again, after a while, the same error recurred.
How can I troubleshoot this error? And what steps can I take to fix it?
My VSCode version is now 1.86.0. Thank you for any assistance.
Greetings from Munich, gstesan
![20240203-145835-Window] (https://github.com/bmewburn/vscode-intelephense/assets/48827509/6a3a494c-762c-4a85-905b-149273b588ce)