mirror of
https://github.com/We-Dont-Byte/Mind_Reader.git
synced 2024-11-15 03:35:59 +00:00
Merge pull request #5 from We-Dont-Byte/johnBreaux
package.json: Remove duplicate entries Unify names of submenus according to Mind Reader naming conventions Add keybinds for things I accidentally only had in my User configuration (oops!) Reorganize right-click context menu to group similar commands Add keybinds for items in the right-click context menu (or replace them with vscode builtins)
This commit is contained in:
commit
51b19a7054
202
package.json
202
package.json
@ -117,67 +117,27 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getLineNumber",
|
"command": "mind-reader.getLineNumber",
|
||||||
"title": "Get The Current Line Number"
|
"title": "Get The Current Line Number",
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.getIndent",
|
|
||||||
"title": "Get The Number Of Line Indentations"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.getLeadingSpaces",
|
|
||||||
"title": "Get The Number Of Leading Spaces"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.selectLeadingWhitespace",
|
|
||||||
"title": "Select The Leading Whitespace"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.getNumberOfSelectedLines",
|
|
||||||
"title": "Get The Number Of Selected Lines"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.connectHub",
|
|
||||||
"title": "Connect LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.disconnectHub",
|
|
||||||
"title": "Disconnect LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.uploadCurrentFile",
|
|
||||||
"title": "Upload Current File to LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.runProgram",
|
|
||||||
"title": "Run a Program on the LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.stopExecution",
|
|
||||||
"title": "Stop Running Program on the LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.deleteProgram",
|
|
||||||
"title": "Delete a Program from the LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.uploadCurrentFile",
|
|
||||||
"title": "Upload Current File to the LEGO SPIKE Prime Hub",
|
|
||||||
"category": "SPIKE Prime"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.getLeadingSpaces",
|
|
||||||
"title": "Get Leading Spaces",
|
|
||||||
"category": "Mind Reader"
|
"category": "Mind Reader"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getLineNumber",
|
"command": "mind-reader.getIndent",
|
||||||
"title": "Get Line Number",
|
"title": "Get The Number Of Line Indentations",
|
||||||
|
"category": "Mind Reader"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.getLeadingSpaces",
|
||||||
|
"title": "Get The Number Of Leading Spaces",
|
||||||
|
"category": "Mind Reader"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.selectLeadingWhitespace",
|
||||||
|
"title": "Select The Leading Whitespace",
|
||||||
|
"category": "Mind Reader"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.getNumberOfSelectedLines",
|
||||||
|
"title": "Get The Number Of Selected Lines",
|
||||||
"category": "Mind Reader"
|
"category": "Mind Reader"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -238,23 +198,62 @@
|
|||||||
"command": "mind-reader.showCommands",
|
"command": "mind-reader.showCommands",
|
||||||
"title": "Show All Commands",
|
"title": "Show All Commands",
|
||||||
"category": "Mind Reader"
|
"category": "Mind Reader"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.connectHub",
|
||||||
|
"title": "Connect a LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.disconnectHub",
|
||||||
|
"title": "Disconnect a LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.runProgram",
|
||||||
|
"title": "Run a Program on the LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.stopExecution",
|
||||||
|
"title": "Stop Running Program on the LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.deleteProgram",
|
||||||
|
"title": "Delete a Program from the LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.uploadCurrentFile",
|
||||||
|
"title": "Upload Current File to the LEGO SPIKE Prime Hub",
|
||||||
|
"category": "SPIKE Prime"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"keybindings": [
|
"keybindings": [
|
||||||
{
|
{
|
||||||
"command": "editor.action.fontZoomOut",
|
"command": "accessActions.focus",
|
||||||
"key": "Shift+Alt+z -",
|
"comment": "This opens the Access Actions menu",
|
||||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
"key": "Ctrl+Shift+/ Ctrl+Shift+/",
|
||||||
|
"mac": "Cmc+Shift+[Slash] Cmc+Shift+[Slash]"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "editor.action.fontZoomIn",
|
"command": "mind-reader.decreaseFontScale",
|
||||||
"key": "Shift+Alt+z =",
|
"key": "Shift+Alt+Z -",
|
||||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
"mac": "Cmd+Shift+Z -",
|
||||||
|
"when": "editorTextFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "editor.action.fontZoomReset",
|
"command": "mind-reader.increaseFontScale",
|
||||||
"key": "Shift+Alt+z 0",
|
"key": "Shift+Alt+Z =",
|
||||||
"when": "editorTextFocus && config.mind-reader.reader.screenReader != JAWS"
|
"mac": "Cmd+Shift+Z =",
|
||||||
|
"when": "editorTextFocus"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.resetFontScale",
|
||||||
|
"key": "Shift+Alt+Z 0",
|
||||||
|
"mac": "Cmd+Shift+Z 0",
|
||||||
|
"when": "editorTextFocus"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getIndent",
|
"command": "mind-reader.getIndent",
|
||||||
@ -266,8 +265,7 @@
|
|||||||
"command": "mind-reader.getLeadingSpaces",
|
"command": "mind-reader.getLeadingSpaces",
|
||||||
"key": "Ctrl+Shift+/ S",
|
"key": "Ctrl+Shift+/ S",
|
||||||
"mac": "Cmd+Shift+[Slash] S",
|
"mac": "Cmd+Shift+[Slash] S",
|
||||||
"when": "editorTextFocus",
|
"when": "editorTextFocus && editorLangId == python"
|
||||||
"comment": "Requires python language"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getLineNumber",
|
"command": "mind-reader.getLineNumber",
|
||||||
@ -285,6 +283,16 @@
|
|||||||
"command": "mind-reader.openKeybinds",
|
"command": "mind-reader.openKeybinds",
|
||||||
"key": "Ctrl+Shift+/ K",
|
"key": "Ctrl+Shift+/ K",
|
||||||
"mac": "Cmd+Shift+[Slash] K"
|
"mac": "Cmd+Shift+[Slash] K"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.getNumberOfSelectedLines",
|
||||||
|
"key": "Ctrl+Shift+/ N",
|
||||||
|
"mac": "Cmd+Shift+[Slash] N"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.selectLeadingWhitespace",
|
||||||
|
"key": "Ctrl+Shift+/ W",
|
||||||
|
"mac": "Cmd+Shift+[Slash] W"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"menus": {
|
"menus": {
|
||||||
@ -296,73 +304,73 @@
|
|||||||
],
|
],
|
||||||
"mind-reader.editor.context": [
|
"mind-reader.editor.context": [
|
||||||
{
|
{
|
||||||
"command": "mind-reader.selectTheme",
|
"command": "mind-reader.openKeybinds",
|
||||||
"group": "mind-reader",
|
"group": "0_mind-reader@0",
|
||||||
|
"when": "activeEditor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "workbench.action.selectTheme",
|
||||||
|
"group": "0_mind-reader@1",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.increaseFontScale",
|
"command": "mind-reader.increaseFontScale",
|
||||||
"group": "mind-reader",
|
"group": "1_mind-reader@0",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.decreaseFontScale",
|
"command": "mind-reader.decreaseFontScale",
|
||||||
"group": "mind-reader",
|
"group": "1_mind-reader@1",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.resetFontScale",
|
"command": "mind-reader.resetFontScale",
|
||||||
"group": "mind-reader",
|
"group": "1_mind-reader@2",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.increaseEditorScale",
|
"command": "workbench.action.zoomIn",
|
||||||
"group": "mind-reader",
|
"group": "2_mind-reader@0",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.decreaseEditorScale",
|
"command": "workbench.action.zoomOut",
|
||||||
"group": "mind-reader",
|
"group": "2_mind-reader@1",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.resetEditorScale",
|
"command": "workbench.action.zoomReset",
|
||||||
"group": "mind-reader",
|
"group": "2_mind-reader@2",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getLineNumber",
|
"command": "mind-reader.getLineNumber",
|
||||||
"group": "mind-reader",
|
"group": "3_mind-reader@0",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getIndent",
|
"command": "mind-reader.getIndent",
|
||||||
"group": "mind-reader",
|
"group": "3_mind-reader@1",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getLeadingSpaces",
|
"command": "mind-reader.getLeadingSpaces",
|
||||||
"group": "mind-reader",
|
"group": "3_mind-reader@2",
|
||||||
"when": "activeEditor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.selectLeadingWhitespace",
|
|
||||||
"group": "mind-reader",
|
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.getNumberOfSelectedLines",
|
"command": "mind-reader.getNumberOfSelectedLines",
|
||||||
"group": "mind-reader",
|
"group": "3_mind-reader@3",
|
||||||
|
"when": "activeEditor"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "mind-reader.selectLeadingWhitespace",
|
||||||
|
"group": "4_mind-reader@0",
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"command": "mind-reader.openWebview",
|
"command": "mind-reader.openWebview",
|
||||||
"group": "mind-reader",
|
"group": "z_mind-reader@99",
|
||||||
"when": "activeEditor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"command": "mind-reader.openKeybinds",
|
|
||||||
"group": "mind-reader",
|
|
||||||
"when": "activeEditor"
|
"when": "activeEditor"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -563,7 +571,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"views": {
|
"views": {
|
||||||
"MindReader": [
|
"Mind-Reader": [
|
||||||
{
|
{
|
||||||
"id": "accessActions",
|
"id": "accessActions",
|
||||||
"name": "Access Actions",
|
"name": "Access Actions",
|
||||||
@ -581,7 +589,7 @@
|
|||||||
"viewsContainers": {
|
"viewsContainers": {
|
||||||
"activitybar": [
|
"activitybar": [
|
||||||
{
|
{
|
||||||
"id": "MindReader",
|
"id": "Mind-Reader",
|
||||||
"title": "Mind Reader Actions",
|
"title": "Mind Reader Actions",
|
||||||
"icon": "media/dep.svg"
|
"icon": "media/dep.svg"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user