vscode-intelephense
vscode-intelephense copied to clipboard
Support for auto_prepend_file
Feature description or problem with existing feature
Support for auto_prepend_file
from php.ini
Describe the solution you'd like
When php.ini
is configured with auto_prepend_file
, VSCode is not aware of the functions/variables in that file and show errors if function from that file was used.
auto_prepend_file
allows automatically include php code from specified file to all php files on the server
I don't think everyone needs to import auto_prepend_file
.
It should be up to the project to decide which files to include.
Recommended intelephense.environment.includePaths
.
It can be configured in the workspace or folder.
I'm not sure why anyone wouldn't want it to be automatically recognized by VScode when it debugs using that particular php configuration on a local server?
intelephense.environment.includePaths
works well and can be configured globally as well. Thanks.
closing as there is a workaround for this case.