Skip to content

[Settings] Deep link into Settings for a PowerToys Run Plugin #36775

@hlaueriksson

Description

Description of the new feature / enhancement

It is possible to deep link into settings for a specific utility:

public static void OpenSettings(SettingsWindow window, bool mainExecutableIsOnTheParentFolder)

Or via:

PowerToys.exe --open-settings=<SettingsWindowName>

As a PowerToys Run community plugin author, it would be nice to be able to deep link directly in to the settings of a plugin.

For example with:

PowerToys.exe --open-settings=Run --plugin-id=CEA0FDFC6D3B4085823D60DC76F28855

Scenario when this would be used?

A plugin could display a result to the user to open the Settings and edit the plugin configuration.

This would be useful for:

  • A newly installed plugin that require configuration
  • A plugin that is in an invalid configuration state
  • A plugin that has a specific query for settings

If the plugin settings are opened, the plugin should be scrolled into position, expanded and focused:

Image

Supporting information

I would like to use this feature here:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerToys RunImproved app launch PT Run (Win+R) WindowRun-PluginThings that relate with PowerToys Run's plugin interface

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions