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

貢獻者指南