Closed t9md closed 6 years ago
Hide vmp commands from command-palette to improve responsiveness of command-palette.
See this example.
atom.commands.add("atom-workspace", { "this-command-is-hidden": { hiddenInCommandPalette: true, didDispatch() { console.log("hidden") }, }, "this-command-is-displayed": { didDispatch() { console.log("displayed") }, }, }) console.log("loaded")
Most vmp commands are invoked via keymaps. So should be hidden from command-palette. Why?
hiddenCommand
true
Summary
Hide vmp commands from command-palette to improve responsiveness of command-palette.
Basic
See this example.
Most vmp commands are invoked via keymaps. So should be hidden from command-palette. Why?
HOW?
hiddenCommand
( defaulttrue
).hiddenCommand
when registering operation class as atom commands.true
for command which should be shown in palette.