PowerShell / PowerShell/PowerShellEditorServices
forceClearScrollbackBuffer conflicts with focusConsoleOnExecute
还没有人认领这个 Issue。
- 主要语言
- C#
- 星标
- 767
- 派生
- 266
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 1
描述
Adding the following setting "powershell.integratedConsole.forceClearScrollbackBuffer":true causes the setting "powershell.integratedConsole.focusConsoleOnExecute": false to be ignored.
This means that the focus shifts to the terminal instead of staying inside the code window
System Details
System Details Output
Issue Description
I am experiencing a problem with keeping the focus on the code window instead of the terminal windows
Expected Behaviour
When i run/execute powershell code i expect the focus to stay in the code windows when this setting is added :
"powershell.integratedConsole.focusConsoleOnExecute": false
Actual Behaviour
The setting "powershell.integratedConsole.focusConsoleOnExecute": false is being ignored when i added "powershell.integratedConsole.forceClearScrollbackBuffer": true,, so everytime i execute code my cursor/marker is focused to the terminal windows.
Attached Logs
Follow the instructions in the troubleshooting docs
about capturing and sending logs.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
通过启用 powershell.integratedConsole.forceClearScrollbackBuffer 并禁用 powershell.integratedConsole.focusConsoleOnExecute 来复现该问题,然后跟踪集成控制台的执行和焦点处理。完成标准是清空滚动缓冲区不再覆盖焦点设置,并且执行后光标仍停留在代码窗口中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- powershell
- 领域
- developer-experience
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100