microsoft/PowerToys

PowerToys Run should provide a mechanism to disable plugins if they're missing dependencies

Open

#18,406 opened on May 20, 2022

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (7,978 forks)batch import
Help WantedIdea-EnhancementProduct-PowerToys RunRun-Plugin

Repository metrics

Stars
 (133,154 stars)
PR merge metrics
 (Avg merge 14d 20h) (117 merged PRs in 30d)

Description

Description of the new feature / enhancement

The VS Code plugin can be toggled on even if you don't have VS Code installed. IMO, it should be disabled and grayed out in the settings page, with a message indicating why.

This could be accomplished by a new interface in Wox.Plugin which plugins could implement to report back a status saying whether they can be enabled or not, and if not a string saying why.

Scenario when this would be used?

For the VS Code plugin, and other plugins that depend on the presence of various dependencies. For example, a OneNote plugin would require OneNote installed, the Everything plugin depends on Everything, a Graph plugin would require an MSA logged in, etc.

Supporting information

No response

Contributor guide