Skip to content

PowerToys Run: Adding Clear Functionality For Older Files/Directories #28996

Open
@RadhiRasho

Description

Description of the new feature / enhancement

I use VS Code a lot and switching/opening directories where my projects are has been made so much easier due to PowerToys Run.

One thing I find lacking is the inability to clear out older/non-existent files/directories. This happens a lot especially when working with stuff like older project that were delete.

What I'm requesting is a way to clear out history of sorts, or individually get rid of files and directories that no longer exist.

image

In the image above, you see a bunch of folder/workspaces (I tend to work a lot with Development Containers, hence the extra (Dev Container) bit there)

Except none of those exist and yet they are still in the searchable list/history.

Scenario when this would be used?

Say I created a folder, name it FolderA, then I go to that folder and right click and open with vscode, that folder should now be in history/list of available options via the vs code plugin { FolderA, so I'm easily able to access it.

Created FolderA
image

Opened FolderA using Open With VS Code:
image

Used {FolderA to open it using PowerToy Run:
image

Now, Say I then decide FolderA is a terrible name, and that it shouldn't exist anymore, so I delete it completely, even from the trash bin.
image

Sense the folder no longer exists, I shouldn't see it in the list of results anymore, right? Wrong, it still shows up, only it leads to nowhere now:

image

Supporting information

No response

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-Results (Indexer)Issue with file search in PowerToys Run

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions