From 107a382b9c956603cbf9e226a91a404f50afa95c Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 15 Nov 2023 21:03:43 +0100 Subject: [PATCH] show snippet command in command palette --- main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 5d10df7..95a91e9 100644 --- a/main.js +++ b/main.js @@ -1770,14 +1770,15 @@ function commandpalette() { return { text: command.hint, - suffix: command.shortcut ? [command.shortcut] : null + suffix: command.shortcut ? [command.shortcut.toLowerCase()] : null }; }) .concat(snippets.map(s => { return { prefix: "snippet: ", - text: s.hint + text: s.hint, + suffix: [s.command] }; })) .concat(localdata.map(n =>