Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include / exclude Specific Folders for program plugin #16527

Open
tdalon opened this issue Feb 23, 2022 · 4 comments
Open

Include / exclude Specific Folders for program plugin #16527

tdalon opened this issue Feb 23, 2022 · 4 comments
Labels
Good first issue Good for newcomers. Help Wanted We encourage anyone to jump in on these and submit a PR. Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface Run-Results (Programs) Issue with program search in PowerToys Run

Comments

@tdalon
Copy link

tdalon commented Feb 23, 2022

Description of the new feature / enhancement

I like the possibility to add explicitly folders to be scanned for files that shall then be displayed on the top of the results.
Currently all files are scanned and the scanned destinations can not be controlled.

Have a look at Executor.dk for example: xou can configure in settings which files shall be listed (locations and filter)

Scenario when this would be used?

I have a specific folder with Favorites shortcuts: these are the files I want to be returned on the top of the list.
I use a lot of Portable Applications that are not listed as programs but that I want to launch quickly.
For these I create shortcuts and put them under a Favorites/Apps folder.

Supporting information

No response

@tdalon tdalon added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Feb 23, 2022
@tdalon tdalon changed the title Scan Faovrites Folder Scan Specific Folders Feb 23, 2022
@crutkas
Copy link
Member

crutkas commented Feb 23, 2022

For clarity, you are talking about the program plugin for PowerToys Run, correct? /needinfo

a workaround may be a symlink to that folder from the desktop

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 23, 2022
@crutkas crutkas added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface Run-Results (Programs) Issue with program search in PowerToys Run Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 23, 2022
@tdalon
Copy link
Author

tdalon commented Feb 23, 2022

For clarity, you are talking about the program plugin for PowerToys Run, correct? Yes

a workaround may be a symlink to that folder from the desktop
No. I want the possibility to configure in which folders the search results shall be scanned: several folders, different search depth and different file filters

Currently ALL the files are scanned which is a big mess in the search results.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Feb 23, 2022
@crutkas crutkas changed the title Scan Specific Folders Include / exclude Specific Folders for program plugin Feb 11, 2023
@crutkas crutkas added Help Wanted We encourage anyone to jump in on these and submit a PR. Good first issue Good for newcomers. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Feb 11, 2023
@fede-marsiglia
Copy link

I'd like to work on this feature! Feel free to message me in order to discuss how to implement it. Thanks in advance :)

@m8urnett
Copy link

It seems there is an option in %LocalAppData%\Microsoft\PowerToys\PowerToys Run\Settings\Plugins\Microsoft.Plugin.Program\ProgramPluginSettings.json to configure this and the setting is referenced here. The problem is that there's no UI to set it and when you set it manually, it gets cleared upon both launch and exit.

"ProgramSources": [],
 "DisabledProgramSources": [],
 "ProgramSuffixes": [
   "bat",
   "appref-ms",
   "exe",
   "lnk",
   "url"
 ],
 "RunCommandSuffixes": [
   "bat",
   "appref-ms",
   "exe",
   "lnk",
   "url",
   "cpl",
   "msc"
 ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue Good for newcomers. Help Wanted We encourage anyone to jump in on these and submit a PR. Product-PowerToys Run Improved app launch PT Run (Win+R) Window Run-Plugin Things that relate with PowerToys Run's plugin interface Run-Results (Programs) Issue with program search in PowerToys Run
Projects
Status: No status
Development

No branches or pull requests

4 participants