Workspace Launcher for Visual Studio / Code logo

Workspace Launcher for Visual Studio / Code UsefulApp

Use this command to install Workspace Launcher for Visual Studio / Code:
winget install --id=15722UsefulApp.WorkspaceLauncherForVSCode -e

This project provides a command palette extension for opening Visual Studio solutions and Visual Studio Code workspaces from a single, unified interface.

Workspace Launcher for Visual Studio / Code
Workspace Launcher for Visual Studio / Code is a command palette extension designed to streamline the process of opening Visual Studio solutions and Visual Studio Code workspaces from a single, unified interface. This tool simplifies project management by consolidating access to both environments into one convenient location.

Key Features:

  • Unified Launcher: Seamlessly open projects in either Visual Studio or Visual Studio Code without switching contexts.
  • Optimized Performance: Configurable page size (default: 8 items) ensures responsiveness, even with large project histories.
  • Window-Switching: If a Visual Studio solution is already open, the extension switches to the existing window instead of opening a new instance.
  • Secondary Actions: Access additional commands for each entry, including copying paths, pinning workspaces, opening in Explorer, and refreshing the workspace list.

Audience & Benefit:
Ideal for developers who work with both Visual Studio and Visual Studio Code, this extension consolidates project management into a single tool, reducing time spent switching between interfaces. It offers a seamless workflow for managing projects across environments.

Install via winget: winget install 15722UsefulApp.WorkspaceLauncherForVSCode.

README

Visual Studio / Code for Command Palette

Overview

This project provides a command palette extension for opening Visual Studio solutions and Visual Studio Code workspaces from a single, unified interface.

Visual Studio / Code for Command Palette

Features

  • Optimized for Performance: Designed to remain fast and responsive, with a configurable page size. By default, it displays 8 items per page to ensure smooth interaction even with large project histories.
  • Unified Launcher: Launch both Visual Studio solutions and Visual Studio Code workspaces from a single, convenient interface.
  • Window-Switching: If a Visual Studio solution is already open, the extension will switch to the existing window instead of opening a new instance.
  • Secondary Actions: Access additional commands for each entry:
    • Copy Path: Copies the full file path of the solution, workspace, or folder to the clipboard.
    • Pin to List / Unpin from List: Pins or unpins a workspace to keep it at the top of the list.
    • Open in Explorer: Opens the solution, workspace, or folder location in the default file explorer.
    • Refresh Workspaces: Manually reloads the list of solutions and workspaces to reflect any recent changes.

Installation

> [!NOTE]
> Because the application is first signed by the Microsoft Store, updates will take a few days to be available via WinGet or in the Command Palette.

Windows Store

Via Command Palette

  1. Open Command Palette
  2. Select "Visual Studio / Code for Command Palette"

Via Winget

  1. Open Command Prompt or PowerShell
  2. Run the following command:
    winget install 15722UsefulApp.WorkspaceLauncherForVSCode
    

Manual Installation

  1. Make sure you use the latest version of PowerToys.
  2. Install the application by double-clicking the .msix file.

Settings

  • Search By: Choose what to search by (Path, Title, or Both).
  • Page Size: Sets the number of items to load and display at one time.
  • Show Details Panel: Toggles the visibility of the details panel.
  • Tags: Configures the tags displayed for each workspace (Type, Target, or both).
  • Enable Visual Studio Code Installations: Toggles which installations of Visual Studio Code to search for workspaces.
  • Command Result Action: Determines what should happen after opening a Visual Studio Code workspace.
  • Preferred Edition: Determines which edition (Default or Insider) is used when a folder or workspace has been opened in both editions of Visual Studio Code.

How It Works

This extension discovers installations of Visual Studio and Visual Studio Code on your system.

  • For Visual Studio Code, it reads the workspace history from the internal storage files (state.vscdb and storage.json).
  • For Visual Studio, it uses vswhere.exe to find installations and then reads their configuration files to discover recent solutions.
  • The extension also includes logic from the WindowWalker extension to detect if a solution is already open. If so, it switches to the existing Visual Studio window instead of creating a new one.

The results are then combined into a single, unified list for easy access.

For more detailed technical information about the project's architecture and components, please see the Project Guide.

Contributing

Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.

Versions
1.10.0.0
1.8.0.0
Website
License