vscode: Unable to add new keybindings - “value is not accepted”

Issue Type: Bug

As I also reported in this SO question, a number of us experienced this problem. Warnings in keybindings.json prevent us from adding new shortcuts. In my case, this happens with a particular extension vscode-emacs-mcx

VS Code version: Code 1.40.0 (86405ea23e3937316009fc27c9361deee66ffbf5, 2019-11-06T17:09:34.601Z) OS version: Darwin x64 17.7.0

System Info
Item Value
CPUs Intel® Core™ i7-4980HQ CPU @ 2.80GHz (8 x 2800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 3
Memory (System) 16.00GB (0.03GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (32)
Extension Author (truncated) Version
atlascode atl 2.1.4
vscode-database baj 2.2.0
path-intellisense chr 1.4.2
bracket-pair-colorizer Coe 1.0.61
vscode-markdownlint Dav 0.31.2
gitlens eam 10.1.2
LogFileHighlighter emi 2.6.0
shell-format fox 6.1.3
seito-openfile Fr4 1.8.5
mdmath goe 2.4.0
gc-excelviewer Gra 2.1.32
open-file-from-path jac 1.3.3
latex-workshop Jam 8.3.1
vsc-space-block-jumper jmf 1.2.2
center-editor-window kai 2.3.0
vscode-docker ms- 0.8.2
python ms- 2019.10.44104
sqltools mtx 0.21.2
neuron-IPE neu 1.0.4
vscode-ipython pan 0.5.0
advanced-new-file pat 1.2.0
vscode-versionlens pfl 0.24.0
vscode-yaml red 0.5.3
vscode-dired rru 0.0.4
code-settings-sync Sha 3.4.3
vscode-fileutils sle 3.0.0
emacs-mcx tut 0.13.0
vscodeintellicode Vis 1.2.0
vscode-icons vsc 9.5.0
org-mode vsc 1.0.0
highlight-trailing-white-spaces yba 0.0.2
markdown-all-in-one yzh 2.5.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (13 by maintainers)

Commits related to this issue

Most upvoted comments

And in my case, creating a keybinding with the mulit-command extension works just fine but has been labelled with a warning for a few updates now. And only after the v1.40 update vscode can no longer write into keybindings.json because of this error notification

vscodeError And so vscode refuses to write into keybindings.json, as when removing keybindings from "Keyboard Shortcuts".

vscodeError2Version: 1.40.0 (user setup)

Commit: 86405ea23e3937316009fc27c9361deee66ffbf5 Date: 2019-11-06T17:02:13.381Z Electron: 6.1.2 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 10.0.19018