can't open GUI file explorer at top-level directory #8966
-
|
When you start a Codespace, it puts you in From the terminal, you can But the file explorer can't seem to navigate "up" directories past From desktop VSCode, you can connect to a GitHub Codespace and Is there a way to set the GUI file explorer to open at the top level directory? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
Hi @ultraGentle, in Codespaces, you should be able to select File > Open Folder..., then |
Beta Was this translation helpful? Give feedback.
-
|
I found that if you right-click the explorer and press "Add folder to workspace", you can type the path to your directory and it will appear on the explorer. |
Beta Was this translation helpful? Give feedback.
-
|
Add ?folder=/ to the end of the Codespace URI to open it in the root directory. This makes the URI look like https://username-repo-random.github.dev/?folder=/. Alternatively, you can use the integrated terminal and run cd / && code . from there to open a new tab with the Codespace in the root directory. The opened Codespace will have ?folder=/ in the URI, so this is effectively equivalent to the other way I described. |
Beta Was this translation helpful? Give feedback.
Hi @ultraGentle, in Codespaces, you should be able to select File > Open Folder..., then
/. Or you can append/?folder=%2Fto yourgithub.devURL, which should also open/in the explorer!