Open a folder in VS Code
Open a folder in VS Code so Claude Code and Codex have a workspace
to work with. This is where you'll save your files related to
the project, and Claude will only ever see what you put in this
folder.*
The open folder stays isolated from the rest of your computer in
that VS Code window. If you want to access a different folder,
open a new VS Code window for that folder.
Anything in VS Code can also be reached via the search bar at the
top. This is the Command Palette. The search bar, by default, only
sees files within your current workspace. To access outside folders,
settings, open the terminal, or even change the theme, you need to
add a > before your search. This is usually done
with the shortcut Command ⌘ + Shift + PCtrl + Shift + P.
* If privacy or destructive edits are a concern, use a carefully chosen
workspace folder and review permissions before letting an AI tool act on files.