Hello,
I've got a problem with the PHP Tools for Visual Studio Code extension. I'm running version 1.51.16099, in a Windows environment, connected to a server directly at the root of a WordPress installation (using Remote SSH: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-ssh).
The problem is that some plugin in my workspace has installed the PHP Wordpress Stubs (https://github.com/php-stubs/wordpress-stubs) and, when I click on "Go to definition" on any WordPress function, your extension will always bring me to the stub definition instead of the native one (that is present in the workspace and indexed).
I've tried to exclude the folders from indexing, in both files.exclude and files.watcherExclude settings (on the remote server where the running extension is installed), trying three different glob patterns:
- **/php-stubs/**/*
- **/php-stubs/*/**
- php-stubs
It doesn't work.
How can I solve this issue?
Regards,
Daniele