microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.5k stars 28.65k forks source link

Auto delete the first 2 characters when inputting a character #183288

Closed mike1026915 closed 1 year ago

mike1026915 commented 1 year ago

Type: Bug

It always auto delete the first 2 characters when inputting a character

VS Code version: Code 1.78.2 (Universal) (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:44:45.204Z) OS version: Darwin arm64 22.1.0 Modes: Sandboxed: Yes

System Info |Item|Value| |---|---| |CPUs|Apple M1 (8 x 24)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|5, 5, 5| |Memory (System)|16.00GB (0.04GB free)| |Process Argv|--crash-reporter-id 60d76d46-4b2c-44ce-8e62-59bae27cc8f1| |Screen Reader|no| |VM|0%|
Extensions (26) Extension|Author (truncated)|Version ---|---|--- rails-routes|aki|0.6.3 aws-toolkit-vscode|ama|1.74.0 buildt-vscode|Bui|0.2.7 solargraph|cas|0.24.0 path-intellisense|chr|2.8.4 vscode-eslint|dba|2.4.0 gitlens|eam|13.6.0 chatgpt-gpt4-gpt3-vscode|Eas|0.8.3 auto-close-tag|for|0.5.14 copilot|Git|1.86.82 copilot-nightly|Git|1.86.113 vscode-pull-request-github|Git|0.64.0 rails-snippets|Hri|1.0.8 endwise|kai|1.5.1 git-graph|mhu|1.30.0 prettify-json|moh|0.0.3 vscode-duplicate|mrm|1.2.1 vscode-docker|ms-|1.25.1 remote-containers|ms-|0.292.0 postman-for-vscode|Pos|0.1.1 ruby|reb|0.28.1 slim|sia|0.1.2 sorbet-vscode-extension|sor|0.3.19 sass-indented|syl|1.8.26 code-gpt-va|vai|0.0.6 vscode-ruby|win|0.28.0
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383:30185418 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242:30382549 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vsdfh931cf:30280410 vshan820:30294714 vstes263:30335439 vscorecescf:30445987 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593cf:30376535 pythonvs932:30410667 cppdebug:30492333 vsclangdc:30486549 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30695312 azure-dev_surveyone:30548225 vsccc:30610678 2e4cg342:30602488 pyind779:30671433 89544117:30613380 pythonsymbol12:30671437 a9j8j154:30646983 showlangstatbar:30737416 vsctsb:30748421 pythonms35:30701012 19089226:30706075 57b77579:30736110 pythonfmttext:30731395 fixhidewlkth:30730051 showsbindicator:30730056 pythongtdpathcf:30739705 ```
mike1026915 commented 1 year ago

Recording video:

https://github.com/microsoft/vscode/assets/5206527/fa9d71a2-f11a-4e79-a0cd-3f42c72f04c6

gjsjohnmurray commented 1 year ago

/confirmPlease

VSCodeTriageBot commented 1 year ago

Thanks for creating this issue! To help narrow it down, please take the time to follow below steps. Thanks a lot and happy coding 🙏

Is the issue caused by an Extension?

Stop VS Code and from the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If it still reproduces, jump to the next chapter.

If you see it is an issue with the extension, please run the command Start Extension Bisect and follow the instructions to find the extension that is causing this issue.

image

Please report the issue to the extension causing this.

Is the issue caused by VS Code Core?

If the issue is not caused by an extension, it is maybe caused by your configuration. Try to run code --disable-extensions --user-data-dir <directory> where <directory> is an empty folder. This will ensure Code is starting with a fresh data directory, e.g. no specific settings and without any extensions running.

If it still reproduces, it was maybe fixed already in our nightly release. Please download from https://code.visualstudio.com/insiders/ and see if you can reproduce the issue.

Finally, to help us narrow down what change caused the issue, please run the following command to find the build. It will start previous releases of VS Code insiders to see where the regression was introduced:

Thanks!

VSCodeTriageBot commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

TheRobinLu commented 1 year ago

I have same issue when turn on CodeWhisperer Auto-Suggestions. when turn it off. everything is good.