PowerShell / PowerShell/PowerShellEditorServices

forceClearScrollbackBuffer conflicts with focusConsoleOnExecute

オープン
#2,313 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Issue-Bug Up for Grabs
主要言語
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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

powershell.integratedConsole.forceClearScrollbackBuffer を有効にし、powershell.integratedConsole.focusConsoleOnExecute を無効にして問題を再現し、その後、統合コンソールの実行とフォーカス処理を追跡します。完了条件は、スクロールバックバッファーのクリアによってフォーカス設定が上書きされなくなり、実行後もカーソルがコードウィンドウに残ることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell
領域
developer-experience
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。