microsoft/PowerToys

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

Open

#18,406 创建于 2022年5月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)C# (7,978 fork)batch import
Help WantedIdea-EnhancementProduct-PowerToys RunRun-Plugin

仓库指标

Star
 (133,154 star)
PR 合并指标
 (平均合并 14天 20小时) (30 天内合并 117 个 PR)

描述

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

贡献者指南