vscode: [BUG] terminal spams "e" after typing in it
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version:
- OS Version: win 11
Steps to Reproduce:
https://github.com/user-attachments/assets/dadfb29d-e725-420e-91e3-f8512f2c5332
- press some keys - i was trying to type
yo code - see that e never stops being sent until defocusing vscode
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 15 (9 by maintainers)
running the second script in https://github.com/microsoft/vscode/issues/249019#issuecomment-3006141731 has removed the screen reader warning and does appear to have also fixed this issue for me too.
Thanks for the investigation and findings! @anthonykim1 can you repro when you disable
"python.analysis.supportAllPythonDocuments": true,?I can repro this, but only when I’m inside pwsh and python:
https://github.com/user-attachments/assets/e35fe187-0b42-4bf5-b92c-83882c42d352 Interesting thing is that typing
yo codefor me in pwsh (mac arm) is fine, but I get the spamming ~e when inside python launched from pwsh.Settings enabled:
I can’t always repro the problem with
yo code, but I had better luck reproducing the problem when typingmy_dictionary =Here are videos with suggest on:https://github.com/user-attachments/assets/0ebdfb07-a483-4a3d-a296-85ed4ff5215b
and
https://github.com/user-attachments/assets/05eb6f6d-26cf-45fa-87dd-74f32c959b96
Very interesting finding is that I couldnt repro this when I dont have terminal suggest enabled:
https://github.com/user-attachments/assets/9920547c-f2c8-44dd-898b-6671a8f20a21
Perhaps this is somehow related to pwsh suggest?
Side note: I think I have a bug where shell type doesnt change from pwsh to python. It seems to change to Python from other shells though.