visual studio code if there is only folder all the files are displayed 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