How do I open a project folder in VS Code?
You'll be able to: Open a project workspace in VS Code
- Risk
- Safe to try
- Windows
- Windows 11 · Windows 10
Filed under Programming & tools
The steps
- 1
Open Visual Studio Code on your computer from the Start menu or desktop shortcut. The editor window opens with the sidebar on the left and the editor pane in the middle.
- 2
Click File in the top menu bar, then click Open Folder.... A standard Windows folder selection window opens.

Why open a folder instead of a single file?
Opening the entire folder allows VS Code to treat it as a project, showing all related files in the sidebar and enabling multi-file searching.
- 3
Navigate to the folder containing your code or project files, click on it once to select it, and click Select Folder. The window reloads with your folder name appearing in capital letters at the top of the left Explorer sidebar.
- 4
If a popup asks Do you trust the authors of the files in this folder?, click Yes, I trust the authors. The editor unlocks all language features, auto-completion, and tools for the project.
It looks different on my screen
If you do not see the file list on the left side of the editor, press CtrlB to toggle the sidebar open.
Did this work?
Updated 2026-08-24اقرأ بالعربية