Project Library is a VS Code extension that helps you save, organize, and quickly switch between your projects using a tree structure with categories.
- Save Projects & Workspaces - Quickly save your current folder or workspace file
- Hierarchical Organization - Create nested categories to organize projects logically
- Fast Switching - Open projects in current or new window with one click
- Smart Indicators - See which project is currently active
- Workspace Support - Full support for both single folders and multi-root workspaces
- Context Menus - Right-click actions for adding, editing, and deleting entries
- Tree View - Clean, collapsible tree interface in the sidebar
- Open the folder or workspace you want to save
- Click the Project Library icon in the sidebar

- Click the "Add Project" button in the tree view toolbar
- Enter a name for your project
- Optionally select a category (or leave at Root)

- Click the "Add Category" button in the tree view toolbar
- Enter a category name
- Categories can be nested by right-clicking on an existing category and selecting "Add Category"

- Single Click: Opens project in current window (closes current workspace)
- Inline Button: Click the "Open in New Window" icon next to a project to open it in a new VS Code window
Right-click on any project or category to:
- Edit - Rename or move to different category
- Delete - Remove entry (deleting a category moves projects to Root)
- Add Project/Category - Add new entries within the selected category

Project Library stores your projects and categories in VS Code's global storage directory:
- Windows:
%APPDATA%\Code\User\globalStorage\philbschmidt.project-library\ - macOS:
~/Library/Application Support/Code/User/globalStorage/philbschmidt.project-library/ - Linux:
~/.config/Code/User/globalStorage/philbschmidt.project-library/
Data is stored in two JSON files:
projects.json- Your saved projectscategories.json- Your category structure
The extension automatically creates backups if data corruption is detected.
Contributions are welcome! Please feel free to submit issues or pull requests on GitHub.
This extension is licensed under the MIT License.