Hi AEM Community,
I'm working on a page in AEM in its editor mode and the components on that page are not functioning. The error says that
File "/apps/<projectName>/foundation/global.jsp" not found
But I can see this folder in the code base within my IDE (IntelliJ and VSCode, screenshot below from VSCode though)

and I tried to use VSCode AEM Sync to export the entire /foundation folder as well as its two child files into my local AEM instance (6.5.0).

However, despite the "success" message from the sync effort I still don't see global.jsp show up where it should be in CRXDE.
As a matter of fact, even though I see the foundation folder showing up in CRXDE now, it's empty!! The actual two .jsp files were not really pushed into AEM.
Specifically, I would like to hear any experience of yours troubleshooting a similar issue; or, maybe what's even more important, in general, how to close the gap between CRXDE and my local code base?
Thanks.