Hi. I installed the extension into Visual Studio 2022 then opened a local folder. I pointed it to one of my PHP projects. In my project, my index.php includes Utils.php which includes config.php. In config. it includes getCommonLibrary.php. In there it scans my local system to locate my repository of shared code for various projects and imports RootLibrary.php from there. That has a ton of useful functions I made and also loads a bunch of core classes.
Problem is, when I load the project in VS2022, Intellisense is flagging every rootlibrary function and core class as unknown. So I thought maybe the chain of inclusion was too much for it so I put a harcoded
include "p:/utils/scripts/_common/006/rootlibrary.php";
right in index, but it still doesn't see any root library functions as being valid. What am I doing wrong?
Thanks!
PS: Also I forgot to mention, it's complaining about missing dependencies in composer, yet they are there. To prevent having to copy vendor's 3600 or so files every time I deploy a site, I have a master vendor folder and each new project symlinks back to it. It is configured such on the webserver, so the web server can see the linked files no problem but my main dev workstation can't follow that link. Doesn't matter, since the code doesn't run on the dev workstation but I can see why the extension thinks they are missing. Is there a way to configure it to stop bugging me about missing dependencies or do I just need to live with that?