You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key combination "Ctrl+j" in VSCode powerShell terminal failed to be assigned as PSReadLineKeyHandler
I've removed all of the "Ctrl+j" in the VSCode Keyboard Shortcuts menu.
My VSCode terminal using vscode-powerShell v2024.2.2 has the "Ctrl+j" being set as "AcceptLine".
However, this "Ctrl+j" key combination has no effect in the VSCode terminal using PowerShell.
In contrast, while working on the "ipython" opened in this vscode-powershell, the "Ctrl+j" works perfectly, but it doesn't work in vscode-powershell itself.
Moreover, the plain powershell window or powershell inside "Windows Terminal" are all working well while pressing "Ctrl+j" which stands for the AcceptLine in my setting.
Furthermore, the same methodology works well on any other key combinations.
The following figure use the "Ctrl+g" as an example.
Prerequisites
Summary
The key combination "Ctrl+j" in VSCode powerShell terminal failed to be assigned as PSReadLineKeyHandler
However, this "Ctrl+j" key combination has no effect in the VSCode terminal using PowerShell.
In contrast, while working on the "ipython" opened in this vscode-powershell, the "Ctrl+j" works perfectly, but it doesn't work in vscode-powershell itself.
Moreover, the plain powershell window or powershell inside "Windows Terminal" are all working well while pressing "Ctrl+j" which stands for the AcceptLine in my setting.
Furthermore, the same methodology works well on any other key combinations.
The following figure use the "Ctrl+g" as an example.
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
set-PSReadLineKeyHandler -Key "Ctrl+j" -function AcceptLine
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: