Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Open a file's folder as Workspace in VS CodeNew to Visual Studio Code? Get it now.
Open a file's folder as Workspace in VS Code

Open a file's folder as Workspace in VS Code

Kenneth Auchenberg

|
7,665 installs
| (1) | Free
Open a file's folder as Workspace in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-open-file-folder

VS Code extension to open a file's folder as workspace. Adds a new context menus to the Explorer Viewlet

  • Open this folder as Workspace: Opens a new instance of VS Code scoped to the folder of the selected file.

Install

Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.

ext install vscode-open-file-folder

Using

Right click on a folder or file in the Explorer, choose Open this folder as Workspace

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft