vs code compact folders 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