folder in root not accessible in visutal studio code mac code example
Example: VS Code not showing subfolders when there is only one
File > Preference > Settings and disable "explorer.compactFolders".
//type "explorer.compactFolders" in search box