mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
added change theme feature (#3)
Add theme extension recommendation and open theme commands.
This commit is contained in:
parent
b0e9e71cb7
commit
0104e75d2c
11
package.json
11
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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
@ -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() {}
|
||||
|
Loading…
Reference in New Issue
Block a user