From a4eb6d686d45db9e76d64de6f8127ef3f1e906f3 Mon Sep 17 00:00:00 2001 From: Logan Yang Date: Tue, 18 Apr 2023 11:28:11 -0700 Subject: [PATCH] Remove plugin id from command ids --- src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index a66f1983..1b099513 100644 --- a/src/main.ts +++ b/src/main.ts @@ -32,7 +32,7 @@ export default class CopilotPlugin extends Plugin { ); this.addCommand({ - id: 'copilot-chat-toggle-window', + id: 'chat-toggle-window', name: 'Toggle Copilot Chat Window', callback: () => { this.toggleView(); @@ -44,7 +44,7 @@ export default class CopilotPlugin extends Plugin { }); this.addCommand({ - id: 'copilot-simplify-prompt', + id: 'simplify-prompt', name: 'Simplify selection', editorCallback: (editor: Editor) => { this.processSelection(editor, 'simplifySelection'); @@ -52,7 +52,7 @@ export default class CopilotPlugin extends Plugin { }); this.addCommand({ - id: 'copilot-emojify-prompt', + id: 'emojify-prompt', name: 'Emojify selection', editorCallback: (editor: Editor) => { this.processSelection(editor, 'emojifySelection');