Workspace Focus
December 6, 2025 ยท View on GitHub
A VS Code extension that creates workspace files focused on a specific folder, named after the current git branch.
Usage
- Right-click on any folder in the VS Code explorer
- Select "Focus on this folder"
- A
.code-workspacefile is created at your git repository root
The workspace file is named after your current git branch (e.g., feature-auth.code-workspace for branch feature/auth).
Installation
From Marketplace
Install from VS Code Marketplace
From VSIX
code --install-extension workspace-focus-0.0.2.vsix
From Source
npm install
npm run compile
npm run package
code --install-extension workspace-focus-0.0.2.vsix
Requirements
- VS Code 1.74.0 or later
License
MIT