This project provides a command palette extension for opening Visual Studio Code workspaces.
- Workspace Management: Retrieve and display a list of available workspaces, including their paths and types (e.g., Local, WSL, Remote).
- Command Execution: Open workspaces in Visual Studio Code using a dedicated command.
- Multi-Installation Support: Works for multiple installations of Visual Studio Code, including Insider and system installations.
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.
- Open Command Palette
- Select "Command Palette - VS Code"
- Open Command Prompt or PowerShell
- Run the following command:
winget install JonahFintzDEV.CommandPalette-VSCode
- Make sure you use the latest version of PowerToys.
- Install the application by double-clicking the
.msix
file.
- Preferred Edition: Determines which edition (Default or Insider) is used when a folder or workspace has been opened in both editions of VS Code.
- Options:
- Default: Uses the standard VS Code edition
- Insider: Uses the VS Code Insider edition
- Options:
- Use Strict Search: Enables or disables strict search for workspaces.
- Strict Search: Matches items where the search text appears as a contiguous substring in the item's title or subtitle. For example, searching for "abc" will match "abc" or "abc123" but not "a1b2c3".
- Show Details Panel: Toggles the visibility of the details panel in the UI.
- Tags: Configures the tags displayed for each workspace.
- Options:
- None (-): No tags are displayed.
- Type: Displays the workspace type (e.g., Local, WSL, Remote).
- Target: Displays the target instance name (e.g., VS Code, VS Code Insider).
- Type & Target: Displays both the workspace type and the target instance name.
- Options:
- Command Result Action: Determines what should happen after opening a VS Code workspace.
- Options:
- Dismiss: Closes the Command Palette after opening the workspace
- Go Back: Returns to the previous Command Palette view
- Keep Open: Keeps the Command Palette open after opening the workspace
- Options:
- Version: 1.6.0.0
- Target Framework: .NET 9.0 (Windows 10.0.22621.0)
- Minimum OS Version: Windows 10 (10.0.19041.0)
- Architecture Support: x64, ARM64
- Package Type: MSIX (Microsoft Store app)
- Main Application:
CmdPalVsCode.cs
- Main extension implementation - Commands Provider:
CmdPalVsCodeCommandsProvider.cs
- Command palette provider - Settings Management:
SettingsManager.cs
- Handles user preferences - VS Code Integration:
OpenVsCodeCommand.cs
- Command execution logic - UI Pages:
VSCodePage.cs
- Main interface page
Contributions are welcome! If you have suggestions for improvements or new features, please open an issue or submit a pull request.