diff --git a/package.json b/package.json index a46068f..da3ebe2 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,10 @@ { "command": "mind-reader.resetEditorScale", "title": "Reset Editor Scale" + }, + { + "command": "mind-reader.selectTheme", + "title": "Select Theme" } ], @@ -83,7 +87,12 @@ "command": "mind-reader.resetEditorScale", "group": "mind-reader", "when": "activeEditor" - } + }, + { + "command": "mind-reader.selectTheme", + "group": "mind-reader", + "when": "activeEditor" + } ] }, diff --git a/src/extension.ts b/src/extension.ts index 1d5a9c8..c8f6e4b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -45,6 +45,13 @@ export function activate(context: vscode.ExtensionContext) { vscode.commands.executeCommand('workbench.action.zoomReset'); }) ); + + // Select Theme + context.subscriptions.push( + vscode.commands.registerCommand('mind-reader.selectTheme', () => { + vscode.commands.executeCommand('workbench.action.selectTheme'); + }) + ); } export function deactivate() {}