
Platform and version
OS: Linux mint - 20
VSCode: 1.47.0
Intelephense: 1.5.1 and 1.5.2
Same issue here, but on windows/sublime-text. It was working until a couple of days ago..
How are you including the wordpress definitions in the workspace? There was a change in 1.5 where workspace folders are now treated as isolated from each other and must be linked via intelephense.environment.includePaths.
So to get wp symbols in 1.5 either add wordpress to intelephense.stubs or use intelephense.environment.includePaths to include an external folder container wordpress definitions.
I have one root folder which contains all the code ( including wordpress). So 2 subfolders of the root are not sharing symbols? Is not this going against the workspace concept?
@Kilbourne that setup should be ok. Are you able to delete the intelephense cache and see if this fixes it?
It worked for me... thanks
Edit: the problem reappeared after a while