Added hotkeys for 5 commands

This commit is contained in:
CalWooten95 2021-10-20 14:25:11 -05:00
parent 0104e75d2c
commit 7a1043c9b7

View File

@ -48,7 +48,36 @@
"title": "Select Theme" "title": "Select Theme"
} }
], ],
"keybindings": [
{
"command": "mind-reader.decreaseFontScale",
"key": "numpad_subtract",
"mac": ""
},
{
"command": "mind-reader.increaseFontScale",
"key": "numpad_add",
"mac": ""
},
{
"command": "mind-reader.increaseEditorScale",
"key": "shift+numpad_add"
},
{
"command": "mind-reader.decreaseEditorScale",
"key": "shift+numpad_subtract",
"mac": ""
},
{
"command": "mind-reader.resetEditorScale",
"key": "shift+enter",
"mac": ""
}
],
"menus": { "menus": {
"editor/context": [ "editor/context": [
{ {
@ -56,38 +85,37 @@
"group": "mind-reader" "group": "mind-reader"
} }
], ],
"mind-reader.editor.context": [ "mind-reader.editor.context": [
{ {
"command": "mind-reader.increaseEditorScale", "command": "mind-reader.increaseEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.decreaseFontScale",
"group": "mind-reader", "group": "mind-reader",
"when": "activeEditor" "when": "activeEditor"
}, },
{
"command": "mind-reader.resetFontScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.increaseEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{ {
"command": "mind-reader.decreaseEditorScale", "command": "mind-reader.decreaseFontScale",
"group": "mind-reader", "group": "mind-reader",
"when": "activeEditor" "when": "activeEditor"
}, },
{ {
"command": "mind-reader.resetEditorScale", "command": "mind-reader.resetFontScale",
"group": "mind-reader", "group": "mind-reader",
"when": "activeEditor" "when": "activeEditor"
}, },
{
"command": "mind-reader.increaseEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.decreaseEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.resetEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{ {
"command": "mind-reader.selectTheme", "command": "mind-reader.selectTheme",
"group": "mind-reader", "group": "mind-reader",
@ -95,22 +123,23 @@
} }
] ]
}, },
"submenus": [ "submenus": [
{ {
"id": "mind-reader.editor.context", "id": "mind-reader.editor.context",
"label": "Mind_Reader" "label": "Mind_Reader"
} }
], ],
"configuration": {
"configuration":{
"title": "Mind_Reader", "title": "Mind_Reader",
"properties": { "properties": {
"mindreader.productType": { "mindreader.productType": {
"type":"string", "type": "string",
"description": "Specifies the LEGO® product.", "description": "Specifies the LEGO® product.",
"default": "MINDSTORMS® EV3", "default": "MINDSTORMS® EV3",
"enum": ["MINDSTORMS® EV3", "SPIKE™ Prime"], "enum": [
"MINDSTORMS® EV3",
"SPIKE™ Prime"
],
"enumDescriptions": [ "enumDescriptions": [
"LEGO® MINDSTORMS® EV3 (31313)", "LEGO® MINDSTORMS® EV3 (31313)",
"LEGO® Education SPIKE™ Prime Set (45678)" "LEGO® Education SPIKE™ Prime Set (45678)"
@ -120,7 +149,11 @@
"type": "string", "type": "string",
"description": "Specifies which screen reader to optimize for.", "description": "Specifies which screen reader to optimize for.",
"default": "NVDA", "default": "NVDA",
"enum": ["NVDA", "Orca", "VoiceOver"], "enum": [
"NVDA",
"Orca",
"VoiceOver"
],
"enumDescriptions": [ "enumDescriptions": [
"NonVisual Desktop Access (Windows)", "NonVisual Desktop Access (Windows)",
"Orca (Linux)", "Orca (Linux)",