Plugin code outside of your workspace
Telling VSCode about plugins, libraries etc outpside of your workspace to stop it showing errors when referencing its defines, functions etc
CTRL+SHIFT+P > Settings > Preferences: open user settings.json
Look for an existing “intelephense.environment.includePaths” entry or if not add it
"intelephense.environment.includePaths": [
"C:\\MyFolder\\MyLibrary1\\some_folder",
"C:\\MyFolder\\MyLibrary2\\some_folder"
],
Also add this to help force intellisense to look in the files
"intelephense.files.maxSize": 5000000,
"intelephense.files.exclude": [
"**/.git/**",
"**/node_modules/**",
"**/vendor/**"
]
