microsoft / vscode

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

Reset option is disabled for deleted default keybindings #152694

Closed waleedrana777 closed 2 years ago

waleedrana777 commented 2 years ago

Issue Type: Bug

So, I accidentally deleted my shortcut for Ctrl + Tab which is used for " quick open recent files in group " by default.

Now when I search for the command in keyboard shortcut tabs, on right clicking this command, there is no reset command option, it is disabled. I was afraid, I might change the wrong one ( as I didn't know the exact name of command) and further mess up.

Steps to reproduce:

  1. Remove any default binding for any default command.
  2. Go and right click the command after searching for it.
  3. The reset button only shows when you reassign any value to this command.
  4. If it stays unassigned, the reset button is disabled too!

What should happen: Commands that have no binding should have the reset command button enabled even when there is no bind right now!

VS Code version: Code 1.68.1 (30d9c6cd9483b2cc586687151bcbcd635f373630, 2022-06-14T12:48:58.283Z) OS version: Windows_NT x64 10.0.19043 Restricted Mode: No

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz (4 x 2594)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|11.85GB (5.78GB free)| |Process Argv|--crash-reporter-id ea531566-9c47-4330-89a1-848d51e89294| |Screen Reader|no| |VM|0%|
Extensions (194) Extension|Author (truncated)|Version ---|---|--- invert-if|1nV|1.4.3 4ern-comments|4er|0.0.10 better-comments|aar|3.0.0 html-snippets|abu|0.2.1 android-dev-ext|ade|1.3.2 simple-switcher|adr|1.1.0 GetterAndSetterGenerator|afm|1.0.3 TabOut|alb|0.2.1 Bookmarks|ale|13.3.0 numbered-bookmarks|ale|8.3.0 flutter-snippets|ale|3.0.0 insert-line-number|and|1.0.1 navigateto|app|1.0.1 ascending-code|Ash|1.2.0 tailwind-docs|aus|2.0.0 code-gnu-global|aus|0.2.2 vscode-database|baj|2.2.3 vscode-django|bat|1.10.0 vscode-icontheme-nomo-dark|be5|1.3.6 dart-data-class-generator|Ben|0.5.5 color-info|bie|0.7.0 emojisense|bie|0.9.1 django|big|1.0.2 vscode-intelephense-client|bme|1.8.2 tailwindshades|bou|0.0.5 vscode-tailwindcss|bra|0.8.6 split-lines|bra|1.0.2 insert-unicode|bru|0.13.3 better-toml|bun|0.3.2 simple-react-snippets|bur|1.2.6 emmet-jss|car|1.0.0 turbo-console-log|Cha|2.3.2 firecode|ChF|1.3.0 npm-intellisense|chr|1.4.2 path-intellisense|chr|2.8.1 ccs-flutter-color|cir|1.0.2 attendant|Cod|1.2.0 vscode-clock|Com|0.0.1 vscode-autohotkey-plus|cwe|2.6.2 vscode-profiles|cyb|1.1.2 styco|Dan|0.2.3 styled-components-snippets|dan|0.4.0 dart-code|Dar|3.42.1 flutter|Dar|3.42.0 vscode-markdownlint|Dav|0.47.0 flutter-auto-import|dav|0.0.1 flowbookmark|Dee|5.0.0 python-preview|don|0.0.4 xml|Dot|2.5.1 rust-syntax|dus|0.6.0 gitlens|eam|12.1.1 vscode-html-css|ecm|1.13.0 vscode-npm-script|eg2|0.3.25 vscode-great-icons|emm|2.1.86 styled-components-snippets|Epi|1.0.3 prettier-vscode|esb|9.5.0 comment-anchors|Exo|1.9.6 vs-code-xml-format|fab|0.1.5 bloc|Fel|6.6.0 styled-snippets|fer|1.0.3 file-icons|fil|1.0.29 vscode-firefox-debug|fir|2.9.7 auto-close-tag|for|0.5.14 auto-rename-tag|for|0.1.10 docker-explorer|for|0.1.7 copilot|Git|1.30.6165 grepper|Gre|0.0.7 activitusbar|Gru|0.0.46 mayukaithemevsc|Gul|3.2.2 helium-icon-theme|hel|1.0.0 banner-comments|hey|0.3.0 hover-helper|Hom|0.3.8 beautify|Hoo|1.5.0 vscode-dimmer|hoo|2.1.0 output-colorizer|IBM|0.1.2 vscode-react-typescript|inf|1.3.1 vscode-psl|ing|1.11.4 vscode-env|Iro|0.1.0 easy-icons|jam|0.3.1 pubspec-assist|jer|2.3.2 shortcut-menu-bar|jer|3.0.4 vscode-peacock|joh|4.0.1 rust-doc-viewer|JSc|2.0.1 vscode-icon-theme|jtl|1.6.6 package-plus-plus|jun|0.0.1 json2csv|kha|0.0.1 workspace-in-status-bar|koa|1.0.4 l13-built-in-extensions|L13|0.13.1 l13-css-snippets|L13|0.16.0 l13-diff|L13|1.0.3 l13-duplicate|L13|1.1.0 l13-extension-pack|L13|0.14.0 l13-js-snippets|L13|0.20.0 l13-projects|L13|1.1.1 l13-swap|L13|0.16.0 vscode-fix-checksums|leh|1.1.0 vs-color-picker|lih|1.0.0 quicktask|lky|3.5.7 dart-import|lua|0.3.1 MagicPython|mag|1.1.0 flutter-tree|mar|1.0.0 colored-regions|mih|0.0.3 dotenv|mik|1.0.1 file-downloader|min|1.0.12 theme-monokai-pro-vscode|mon|1.1.20 vscode-extension-auto-import|mop|1.3.3 vscode-manager|mrs|2.2.0 vscode-docker|ms-|1.22.0 csharp|ms-|1.25.0 python|ms-|2022.8.0 vscode-pylance|ms-|2022.6.20 jupyter|ms-|2022.5.1001601848 jupyter-keymap|ms-|1.0.0 jupyter-renderers|ms-|1.0.8 remote-containers|ms-|0.238.2 remote-wsl|ms-|0.66.3 cpptools|ms-|1.10.7 cpptools-extension-pack|ms-|1.2.0 hexeditor|ms-|1.9.7 gradle-language|nac|0.2.3 awesome-flutter-snippets|Nas|3.0.3 snippet-creator|nik|0.0.5 deepdark-material|Nim|3.3.0 vscode-python-typehint|njq|1.4.1 stats-bar|njz|0.5.0 vscode-extension-auto-import|Nuc|1.4.3 laravel-blade|one|1.32.0 color-tabs-vscode-ext|ore|0.12.1 nodejs-snippets|piy|0.0.2 material-icon-theme|PKi|4.18.1 heroku-command|pko|0.0.8 prettyxml|Pra|2.0.0 seti-icons|qin|0.1.3 quicktype|qui|12.0.46 vscode-thunder-client|ran|1.16.5 react-on-the-fly|raz|0.0.6 java|red|1.7.0 html-to-jsx|ria|0.0.1 styled-components-snippets|ric|0.9.6 FileGroup|rio|1.0.2 html-related-links|rio|0.18.1 mongo-snippets-for-node-js|roe|1.3.12 vscode-xml-complete|rog|0.3.0 rust|rus|0.7.8 multi-command|ryu|1.5.1 crates|ser|0.5.10 vscode-blade-formatter|shu|0.15.2 html5-boilerplate|sid|1.1.1 vsc-quokka-statusbar|ske|1.3.6 bunker|sld|1.1.6 vscode-fileutils|sle|3.5.0 vscode-autohotkey|sle|0.2.2 vscode-multiclip|sle|0.1.5 sonarlint-vscode|Son|3.5.4 jump-brackets|StA|0.0.1 autoimport|ste|1.5.4 rewrap|stk|1.16.3 vscode-styled-components|sty|1.7.4 vscode-editor-group-minimizer|suh|1.3.2 rust-pack|Swe|0.3.3 sass-indented|syl|1.8.20 ayu|tea|1.0.5 multiplecopypaste|Tec|0.0.8 hex-to-tailwind|Ted|1.1.0 Terminal-StatusBar|Tho|0.0.5 python|tht|0.2.3 import-font|tit|1.0.1 vsfire|tob|1.4.1 errorlens|use|3.5.1 vscode-lldb|vad|1.7.0 extensions-readme|vha|1.2.1 intellicode-api-usage-examples|Vis|0.1.1 vscodeintellicode|Vis|1.2.21 vscode-conventional-commits|viv|1.24.1 insertnums|vol|0.6.4 vscode-java-debug|vsc|0.41.0 vscode-java-pack|vsc|0.23.0 vscode-java-test|vsc|0.35.0 vscode-maven|vsc|0.35.2 vscode-icons|vsc|11.12.0 snippet|vsc|0.8.1 vscode-todo-highlight|way|1.0.5 change-case|wma|1.0.0 vscode-jumpy|wma|0.3.1 file-path-bar|wra|2.1.6 better-align|wwm|1.1.6 JavaScriptSnippets|xab|1.8.0 php-debug|xde|1.27.0 title-comments|Xis|0.3.0 json-color-token|yec|1.3.2 copy-hover-type|You|0.0.6 vscode-preview-server|yui|1.3.0 tailwind-snippets|Zar|1.0.1 material-theme|zhu|3.15.0 (29 theme extensions excluded)
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vswsl492cf:30256860 vslsvsres303:30308271 pythonvspyl392:30443607 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonvspyt551:30345470 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 pythondataviewer:30285071 vscod805:30301674 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 vsc1dst:30438360 pythonvs932:30410667 wslgetstarted:30449410 vscscmwlcmt:30465135 cppdebug:30492333 vscaat:30438848 vsclangdc:30486549 841h4636:30513380 ```
sandy081 commented 2 years ago

It is working for me.

Kapture 2022-07-25 at 16 59 46

If you have a specific example, can you please let us know to repro

VSCodeTriageBot commented 2 years 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!