SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

[Keymap] Empty command is scoped as illegal, but I want to use it as noop #311

Closed mitranim closed 3 years ago

mitranim commented 3 years ago

My hotkeys have noop overrides like this:

{"keys": ["shift+super+n"], "command": ""},

Used to have noop there, but there's a chance of collision; "" seems like a better choice. Unfortunately PackageDev doesn't like it, and scopes the closing quote as illegal, making it red. Is there a particular reason for this? Is there a better way to disable hotkeys? If not, perhaps we should make this "legal" until further plot development.