PowerShell / PowerShell/PowerShellEditorServices
forceClearScrollbackBuffer conflicts with focusConsoleOnExecute
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
powershell.integratedConsole.forceClearScrollbackBuffer を有効にし、powershell.integratedConsole.focusConsoleOnExecute を無効にして問題を再現し、その後、統合コンソールの実行とフォーカス処理を追跡します。完了条件は、スクロールバックバッファーのクリアによってフォーカス設定が上書きされなくなり、実行後もカーソルがコードウィンドウに残ることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- developer-experience
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100