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

Add option to filter out file/folder suggestions when completions are automatically triggered by a space #5054

Open
2 tasks done
MartinGC94 opened this issue Sep 30, 2024 · 0 comments
Labels
Issue-Enhancement A feature request (enhancement). Needs: Triage Maintainer attention needed!

Comments

@MartinGC94
Copy link
Contributor

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

I think the constant file/folder completion suggestions are distracting and I'd like to reduce those distractions. For example, if I type in a command like: Clear-Disk -Number 0 -RemoveData -RemoveOEM it will show unwanted file completions 4 times, once after the command and once for every space after each parameter/parameter value.
If you repeat this experiment in ISE you will note that it doesn't show any file completions. This is because ISE filters out file/folders from the automatic IntelliSense that is triggered by space.

Ideally something would be done about this in PowerShell itself to but unfortunately support for 5.1 has to be considered as well so adding an option in the extension would be nice.

Proposed Design

No response

@MartinGC94 MartinGC94 added Issue-Enhancement A feature request (enhancement). Needs: Triage Maintainer attention needed! labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement A feature request (enhancement). Needs: Triage Maintainer attention needed!
Projects
None yet
Development

No branches or pull requests

1 participant