refactor(command_palette): use declarative command approach

This commit is contained in:
Elian Doran
2025-07-27 21:16:23 +03:00
parent fa9b142cb7
commit 964bc74b83
3 changed files with 29 additions and 10 deletions

View File

@@ -10,6 +10,9 @@ export interface Action {
actionName: CommandNames;
effectiveShortcuts: string[];
scope: string;
friendlyName: string;
description?: string;
iconClass?: string;
}
const keyboardActionsLoaded = server.get<Action[]>("keyboard-actions").then((actions) => {