I am new to use Visual Code for Joomla development. Watched few videos and referred https://docs.joomla.org/Visual_Studio_Code to setup the IDE.
I opened couple of PHP files and noticed few errors. One of the most common error is 'Undefined Type...'
Example
Undefined type 'JViewLegacy'.intelephense(1009)
Why it is showing the class as Undefined? Are there any configurations I am missing in VS?