Add option to filter out file/folder suggestions when completions are automatically triggered by a space
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- powershell, typescript
调研方向
首先定位扩展的自动补全处理逻辑,以及在空格后生成文件/文件夹建议的路径。在 VS Code 中复现 Clear-Disk 示例,并将其与 PowerShell ISE 的行为进行比较。完成标准应包括一个明确的选项:抑制由空格触发的补全中的文件/文件夹建议,同时保留其他补全行为。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- TypeScript
- 星标
- 1.9k
- 派生
- 548
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/vscode-powershell 的其他 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
PowerShell/vscode-powershell#5615 · 1 条评论 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 75/100
PowerShell/vscode-powershell#5607 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/vscode-powershell#5599 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
PowerShell/vscode-powershell#5592 · 2 条评论 · 1 个 reaction ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/vscode-powershell#5583 · 1 条评论 ·
查看 PowerShell/vscode-powershell 的全部 Issue
相似的 Issue
-
area/frontend good first issue kind/cooldown
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
voidzero-dev/oxc-angular-compiler#511 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
langchain-ai/deepagentsjs#898 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
anomalyco/models.dev#8509 · 2 条评论 ·
维护者通常 1 天内回复
-
bug documentation P2 UI/UX
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复