change the way folders group in vscode explorer code example
Example 1: VS Code not showing subfolders when there is only one
File > Preference > Settings and disable "explorer.compactFolders".
//type "explorer.compactFolders" in search box
Example 2: leave workspace vscode
Press Ctrl + K
Then press F