-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand PSReadLine MenuComplete to work in Visual Studio Code for non-english default languages #1086
Comments
Could this be a VS Code thing? Does it happen to in a normal ConHost'd PowerShell? |
no it doesn't happen in ConHost'd Powershell - so maybe it is. |
@TylerLeonhardt Do you remember how it was fixed with English being the default language? |
@TylerLeonhardt no idea. |
I'm not sure if we want to go that way. It's possible |
Yes ideally we find a generic way of going about doing this but it's unclear who's causing the different behavior at this time. I know that PSReadLine has had an issue here and there in the passed wrt other keyboard layouts. |
for me it is mysterious because, it somehow seems to make a difference which language is active before starting vscode while language switching in an open vscode doesn't change the behavior? |
@daxian-dbw Not the person you mentioned but can confirm this is an issue with the latest versions of VS Code and Windows Terminal. |
Thanks @Livven. We also got a new report (#1415) for the same issue with 2.0.0 GA PSReadLine in Windows Terminal. From @l-c-g:
|
My Computer Enviroment:
I also experience the I use Microsoft Chinese Pinyin (which can change EN/CN input by hitting keybind) Input all the time. When I test the Then I goto the settings of Microsoft Chinese Pinyin Input and find that it use the keybinding Then I disabled this key-bind, and |
A bunch of key bindings used in PSReadLine get fixed in the most recent preview release of Windows Terminal (v1.1.1671.0), including ctrl+space (which doesn't need the ctrl+@ workaround binding for |
@Tyriar Given the issue microsoft/terminal#879 fixed in Windows Terminal preview release, can it also be fixed in VSCode terminal? |
@daxian-dbw well if we just need to enable |
Oh sorry - had a look on the progress of my issue at the beginning and then left without looking at it anylonger. |
@WorrenB It's been over 2.5 years since we last check on this issue. Given that this is rooted in VSCode terminal, not something we can fix in PSReadLine, I will close this issue. Can you please check again if the issue has been resolved in VSCode terminal? If not, can you please open an issue in the VSCode repository instead? Thanks! |
this is my second issue on github.
I hope it is usable in this form.
Behavior:
If windows default language is set to english the PSReadLine MenuComplete in Visual Studio Code - Insiders works out of the box as intended.
as my default language usually is set to german, I'm encountering problems while trying Ctrl+Space for calling MenuCompletion.
Ctrl+Space is then interpreted as ctrl+"
even switching keyboard layout then to english with Shift+Alt makes no difference.
Defining a additional PSReadLineKeyHandler s.b. fixed it for me, but due it works in english without any changes maybe there is a chance to "expand" it work for other languages too.
Thank you
kind regards
Björn
The text was updated successfully, but these errors were encountered: