microsoft / vscode

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

enter and backspace can't edit #201921

Closed yangzijianGit closed 10 months ago

yangzijianGit commented 10 months ago

Type: Bug

Cannot read properties of undefined (reading 'selection')

VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 9 5900HX with Radeon Graphics (16 x 3294)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
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)|undefined| |Memory (System)|15.40GB (7.69GB free)| |Process Argv|--folder-uri file:///f%3A/Projects/predict_Lottery_ticket --crash-reporter-id c1f2cad7-4f2e-45e8-b30f-d96750f51d56| |Screen Reader|no| |VM|0%|
Extensions (70) Extension|Author (truncated)|Version ---|---|--- better-comments|aar|3.0.2 add-reference|adr|1.0.2 asp-net-core-switcher|adr|2.0.2 csharp-to-typescript|adr|1.12.1 namespace|adr|1.1.2 user-secrets|adr|2.0.1 include-autocomplete|ajs|0.0.4 vscode-json|and|1.5.2 debugger-for-mainframe|Bro|1.9.0 ue4-snippets|CAP|2.0.1 turbo-console-log|Cha|2.9.10 path-intellisense|chr|2.8.5 doxdocgen|csc|1.4.0 netcore-editorconfiggenerator|dog|0.2.0 netcore-extension-pack|dog|1.10.0 netcore-snippets|dog|6.0.3 quicktype-refresh|dog|1.0.2 xml|Dot|2.5.1 vscode-html-css|ecm|2.0.6 tortoise-svn|fan|0.1.1 code-runner|for|0.12.1 dotnet|for|0.0.4 dotnet-test-explorer|for|0.7.8 vscode-glsl|GeF|0.3.1 go|gol|0.40.1 rest-client|hum|0.25.1 vscode-edit-csv|jan|0.8.3 better-cpp-syntax|jef|1.17.2 vscode-nuget-package-manager|jmr|1.1.6 docomment|k--|1.0.0 ts-debug|kak|0.0.6 vsc-python-indent|Kev|1.18.0 unity-code-snippets|kle|2.2.5 csharpextensions|kre|1.7.3 binary-file-viewer|maz|1.8.0 rainbow-csv|mec|3.11.0 vscode-language-pack-zh-hans|MS-|1.85.2023121309 csdevkit|ms-|1.2.5 csharp|ms-|2.14.8 vscode-dotnet-runtime|ms-|2.0.0 vscodeintellicode-csharp|ms-|0.1.26 python|ms-|2022.6.0 remote-containers|ms-|0.327.0 remote-ssh|ms-|0.107.1 remote-ssh-edit|ms-|0.86.0 remote-wsl|ms-|0.81.8 cmake-tools|ms-|1.16.32 cpptools|ms-|1.19.1 cpptools-extension-pack|ms-|1.3.0 remote-explorer|ms-|0.4.1 sqltools|mtx|0.28.1 sftp|Nat|1.16.3 korofileheader|OBK|4.9.3 vscode-nuget-gallery|pat|0.0.24 proto|pet|0.0.4 vscode-versionlens|pfl|1.9.2 webgl-glsl-editor|rac|1.3.7 vscode-xml|red|0.26.1 luapanda|stu|3.3.1 lua|sum|3.7.4 msbuild-project-tools|tin|0.6.0 unity-tools|Tob|1.2.12 pdf|tom|1.2.2 cmake|twx|0.0.17 vstuc|vis|0.9.3 vscode-icons|vsc|12.6.0 vscode-todo-highlight|way|1.0.5 debug|web|0.26.1 markdown-all-in-one|yzh|3.5.1 json|Zai|2.0.2 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vshan820:30294714 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 py29gd2263:30899288 vsclangdf:30486550 c4g48928:30535728 azure-dev_surveyone:30548225 f6dab269:30613381 vscrpc:30673769 2i9eh265:30646982 0bi6i642:30917235 pythongtdpath:30769146 i26e3531:30792625 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2cf:30928864 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 dsvsc019:30917259 cp7184t3:30927821 ```
yangzijianGit commented 10 months ago

.md file ext

gjsjohnmurray commented 10 months ago

/confirmPlease

vscodenpa commented 10 months ago

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.

Happy Coding!

vscodenpa commented 10 months 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!