VS Code suggestions for PHP show everything, instead of class functions only

I've been struggling with this for while too ...

You can just disable the basic PHP suggestions by setting php.suggest.basic to false in your settings.json file or use the settings UI at PHP > Suggest: Basic

With Intelephense installed everything works as expected now !

source : https://code.visualstudio.com/docs/languages/php#_disable-builtin-php-support


You must disable the vscode built-in PHP Language Features.

  1. Click extensions.
  2. In the search bar type @builtin php.
  3. Click cog icon of PHP Language Features.
  4. Click Disable.

Extension UI - Disabling built-in PHP Language Features