PowerShell / PowerShell/PowerShellEditorServices

forceClearScrollbackBuffer conflicts with focusConsoleOnExecute

Đang mở
#2,313 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Issue-Bug Up for Grabs
Ngôn ngữ chính
C#
Star
767
Fork
266
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề bằng cách bật powershell.integratedConsole.forceClearScrollbackBuffer và tắt powershell.integratedConsole.focusConsoleOnExecute, sau đó theo dõi quá trình thực thi của console tích hợp và việc xử lý tiêu điểm. Hoàn tất khi việc xóa bộ đệm scrollback không còn ghi đè lên cài đặt tiêu điểm và con trỏ vẫn ở trong cửa sổ mã sau khi thực thi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell
Lĩnh vực
developer-experience
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.