open a existing folder as vs code project 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
File > Preference > Settings and disable "explorer.compactFolders".
//type "explorer.compactFolders" in search box