VS Code Question

First, if this post is in the wrong forum it’s because I couldn’t find one for VS Code posts.

I have a project folder that contains subfolders where all my code is stored:
G:/Hutchins_Clan_Project/HTML/Images/Scripts/Styles/Thumbnails. The root folder contains only the subfolders (no files).

In VS code I click on the hamburger menu at upper left and choose File > Open Folder > G:/Hutchins_Clan_Project and the subfolders appear in the VS Code Explorer but the root folder name does not. This happened after I fat fingered something to cause VS Code’s screen to show an unwanted window. After getting rid of the unwanted window, the root folder no longer appears. I’d like to get it back because I like to see my tree as I add folders and files.

Here’s a ss of what I have (without the root folder):

Based on what’s displayed in the tab, I’m in the root directory but it doesn’t appear in the list.

What am I doing wrong? What can I do to get the root folder and all subfolders to appear?

TIA

Are you sure you have the right folder open? And not a workspace or something?

1 Like

No, I’m not sure.

I think I have the folder open but I don’t know how to be sure.

You can see what my screen looks like. I’ve tried to find a way to close the VS Code session and get rid of what appears in the Explorer but haven’t found one. My thinking was to open a fresh copy of VSC the try to open the folder again, but I can’t seem to get to a fresh copy of VSC.

Is there a way to tell if I’m in a workspace instead of having the root folder open?

I fixed it. I found a menu that contained an Outline option. I chose it and the root folder now appears in the Explorer list.

Before finding that option, I hovered over the ellipsis following EXPLORER and the root folder name appeared. This convinced me that I HAD opened the root folder but the name just wasn’t appearing. That got me to right clicking which turned up the menu with Outline as an option.