microsoft / vscode

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

Unknown configuration setting `notebook.controller2TypeBindings` appears in exported profiles and User/sync/globalState #231229

Open Saltsmart opened 2 days ago

Saltsmart commented 2 days ago

Type: Bug

It may be caused by an outdated setting so I can't reproduce it. I only want to safely delete this setting since the directory envs/d2l in the content is not valid now, and I think some bugs are related with it. The following are exported code-profile file: default profile.zip

VS Code version: Code 1.94.2 (384ff7382de624fb94dbaf6da11977bba1ecd427, 2024-10-09T16:08:44.566Z) OS version: Windows_NT x64 10.0.22000 Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)| |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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|7.85GB (1.84GB free)| |Process Argv|--log ms-python.python=trace --crash-reporter-id deaad0bf-2897-480e-b8cf-04d2a61dc2e3 --log ms-python.python=trace --crash-reporter-id deaad0bf-2897-480e-b8cf-04d2a61dc2e3| |Screen Reader|no| |VM|0%|
Extensions (9) Extension|Author (truncated)|Version ---|---|--- black-formatter|ms-|2024.4.0 debugpy|ms-|2024.10.0 flake8|ms-|2023.10.0 python|ms-|2024.16.1 vscode-pylance|ms-|2024.10.1 datawrangler|ms-|1.10.0 jupyter|ms-|2024.9.1 jupyter-renderers|ms-|1.0.19 tensorboard|ms-|2023.10.1002992421
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 0ee40948:31013168 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 wkspc-onlycs-t:31132770 wkspc-ranged-t:31151552 cf971741:31144450 defaultse:31146405 iacca1:31156133 notype1cf:31157160 showbadge:31153266 5fd0e150:31155592 ```
Saltsmart commented 2 days ago

Image

This setting is in the red box. Besides, the content in the blue boxes are also not valid, since I don't use this extension now. How to clear the unused globalState?