VS Code Cheat Sheet/Open current folder in VS Code

Launch VS Code from a shell.

Section: Search, Terminal, and CLI

Open current folder in VS Code

bash
bash
code .

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Search, Terminal, and CLI
Toggle integrated terminal
Open or focus the integrated terminal.
OpenIn sheettextsame section
Open a diff view from the CLI
Compare two files in VS Code.
OpenIn sheetbashsame section
Find in current file
Search inside the current editor.
OpenIn sheettextsame section
Find in files
Search across the whole workspace.
OpenIn sheettextsame section
Toggle regex search
Enable regular expressions in search UI.
OpenIn sheettextsame section
Open Command Palette
Run any VS Code command quickly.