Open ryan-workFromHome opened 2 months ago
Thanks @ryan-workFromHome can you try disabling your other extensions besides PowerShell to see if it still repros?
Thanks @ryan-workFromHome can you try disabling your other extensions besides PowerShell to see if it still repros?
The issue persists with all of the extensions being disabled. So it seems not induced by the extensions.
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
Steps to Reproduce
1) Open powershell inside the VSCode 2) Set "Ctrl+j" as any function. (I want to set it as function AcceptLine)
set-PSReadLineKeyHandler -Key "Ctrl+j" -function AcceptLine
3) Press the key combination "Ctrl+j" in the vscode-powershell window, and you would see nothing happening.Visuals
No response
Logs
No response