2021-09-25 21:18:41 +00:00
|
|
|
{
|
|
|
|
"name": "mind-reader",
|
|
|
|
"displayName": "Mind_Reader",
|
2022-04-09 23:01:52 +00:00
|
|
|
"repository": "https://github.com/We-Dont-Byte/Mind_Reader",
|
2021-12-02 14:08:53 +00:00
|
|
|
"version": "1.0.0",
|
2021-09-25 21:18:41 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.60.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"onStartupFinished"
|
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
2021-10-17 00:30:40 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.increaseFontScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Increase Font Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.decreaseFontScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Decrease Font Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.resetFontScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Reset Font Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.increaseEditorScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Increase Editor Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.decreaseEditorScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Decrease Editor Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.resetEditorScale",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Reset Editor Scale",
|
|
|
|
"category": "Mind Reader"
|
2021-10-19 17:46:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.selectTheme",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Select Theme",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:35:38 +00:00
|
|
|
},
|
2021-11-30 18:04:26 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.openWebview",
|
|
|
|
"title": "Mind Reader Webview"
|
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.openKeybinds",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Edit Keybinds",
|
|
|
|
"category": "Mind Reader"
|
2021-11-30 18:04:26 +00:00
|
|
|
},
|
2021-11-16 17:35:38 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.runLineContext",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Get the Context of the Current Line",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:35:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.runCursorContext",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Get the Context of Text Under Cursor",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 21:12:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.getIndent",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Get Line Indentation",
|
|
|
|
"category": "Mind_Reader"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.connectHub",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Connect LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.disconnectHub",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Disconnect LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.uploadCurrentFile",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Upload Current File to LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.runProgram",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Run a Program on the LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.stopExecution",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Stop Running Program on the LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.deleteProgram",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Delete a Program from the LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.uploadCurrentFile",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Upload Current File to the LEGO SPIKE Prime Hub",
|
|
|
|
"category": "SPIKE Prime"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.getLeadingSpaces",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Get Leading Spaces",
|
|
|
|
"category": "Mind Reader"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.getLineNumber",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Get Line Number",
|
|
|
|
"category": "Mind Reader"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
2021-11-16 17:56:57 +00:00
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.getQuickInputBack",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go Back in Quick Input",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.gotoLine",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to Line",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.gotoSymbol",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to Symbol",
|
|
|
|
"category": "Mind Reader"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
2021-11-16 17:56:57 +00:00
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.navigateBack",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Navigate Backward",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.navigateForward",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Navigate Forward",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.nextInFiles",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to Next Problem in Files (Error, Warning, Info)",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.prevInFiles",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to Previous Problem in Files (Error, Warning, Info)",
|
|
|
|
"category": "Mind Reader"
|
2022-04-09 23:01:52 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.quickOpen",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to File...",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.quickOpenPreviousRecentlyUsedEditorInGroup",
|
2022-04-09 23:01:52 +00:00
|
|
|
"title": "View: Quick Open Previous Recently Used Editor in Group"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.showAllSymbols",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Go to Symbol in Workspace...",
|
|
|
|
"category": "Mind Reader"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.showProblems",
|
2022-04-10 02:12:26 +00:00
|
|
|
"title": "Show Problems",
|
|
|
|
"category": "Mind Reader"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.showCommands",
|
|
|
|
"title": "Show All Commands",
|
|
|
|
"category": "Mind Reader"
|
2022-04-09 23:01:52 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"command": "editor.action.fontZoomOut",
|
2022-04-10 02:12:26 +00:00
|
|
|
"key": "Shift+Alt+z -",
|
2022-04-09 23:01:52 +00:00
|
|
|
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
2021-11-16 17:56:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "editor.action.fontZoomIn",
|
2022-04-10 02:12:26 +00:00
|
|
|
"key": "Shift+Alt+z =",
|
2022-04-09 23:01:52 +00:00
|
|
|
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
2021-11-16 21:12:57 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "editor.action.fontZoomReset",
|
2022-04-10 02:12:26 +00:00
|
|
|
"key": "Shift+Alt+z 0",
|
|
|
|
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
|
2021-11-16 21:12:57 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.getIndent",
|
2022-04-09 23:01:52 +00:00
|
|
|
"key": "Ctrl+Shift+/ I",
|
|
|
|
"mac": "Cmd+Shift+[Slash] I",
|
2022-04-10 02:12:26 +00:00
|
|
|
"when": "editorTextFocus"
|
2021-11-30 18:27:11 +00:00
|
|
|
},
|
2021-12-02 03:40:01 +00:00
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.getLeadingSpaces",
|
|
|
|
"key": "Ctrl+Shift+/ S",
|
|
|
|
"mac": "Cmd+Shift+[Slash] S",
|
2022-04-10 02:12:26 +00:00
|
|
|
"when": "editorTextFocus",
|
|
|
|
"comment": "Requires python language"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.getLineNumber",
|
|
|
|
"key": "Ctrl+Shift+/ L",
|
|
|
|
"mac": "Cmd+Shift+[Slash] L",
|
|
|
|
"when": "editorTextFocus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.runLineContext",
|
|
|
|
"key": "Ctrl+Shift+/ C",
|
|
|
|
"mac": "Cmd+Shift+[Slash] C",
|
|
|
|
"when": "editorTextFocus && editorLangId == python"
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.openKeybinds",
|
|
|
|
"key": "Ctrl+Shift+/ K",
|
|
|
|
"mac": "Cmd+Shift+[Slash] K"
|
2022-04-10 02:19:11 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.ev3.test",
|
|
|
|
"key": "Ctrl+E Ctrl+V"
|
2021-12-02 03:40:01 +00:00
|
|
|
}
|
|
|
|
],
|
2021-10-19 16:52:58 +00:00
|
|
|
"menus": {
|
|
|
|
"editor/context": [
|
|
|
|
{
|
|
|
|
"submenu": "mind-reader.editor.context",
|
2021-10-19 17:12:03 +00:00
|
|
|
"group": "mind-reader"
|
2021-10-19 16:52:58 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"mind-reader.editor.context": [
|
2021-10-19 17:12:03 +00:00
|
|
|
{
|
2021-10-20 19:25:11 +00:00
|
|
|
"command": "mind-reader.increaseEditorScale",
|
2021-10-19 17:12:03 +00:00
|
|
|
"group": "mind-reader",
|
2021-10-20 19:25:11 +00:00
|
|
|
"when": "activeEditor"
|
|
|
|
},
|
2021-10-19 16:52:58 +00:00
|
|
|
{
|
2021-10-20 19:25:11 +00:00
|
|
|
"command": "mind-reader.decreaseFontScale",
|
|
|
|
"group": "mind-reader",
|
|
|
|
"when": "activeEditor"
|
|
|
|
},
|
2021-10-19 16:52:58 +00:00
|
|
|
{
|
2021-10-20 19:25:11 +00:00
|
|
|
"command": "mind-reader.resetFontScale",
|
|
|
|
"group": "mind-reader",
|
|
|
|
"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"
|
|
|
|
},
|
2021-10-19 17:46:05 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.selectTheme",
|
|
|
|
"group": "mind-reader",
|
|
|
|
"when": "activeEditor"
|
2021-11-30 18:04:26 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.openWebview",
|
|
|
|
"group": "mind-reader",
|
|
|
|
"when": "activeEditor"
|
|
|
|
},
|
|
|
|
{
|
2022-04-09 23:01:52 +00:00
|
|
|
"command": "mind-reader.openKeybinds",
|
2021-11-30 18:04:26 +00:00
|
|
|
"group": "mind-reader",
|
|
|
|
"when": "activeEditor"
|
2021-10-19 17:46:05 +00:00
|
|
|
}
|
2021-10-19 16:52:58 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"submenus": [
|
2021-10-19 17:12:03 +00:00
|
|
|
{
|
|
|
|
"id": "mind-reader.editor.context",
|
|
|
|
"label": "Mind_Reader"
|
|
|
|
}
|
2021-10-19 16:52:58 +00:00
|
|
|
],
|
2021-10-20 19:25:11 +00:00
|
|
|
"configuration": {
|
2021-10-12 17:43:10 +00:00
|
|
|
"title": "Mind_Reader",
|
|
|
|
"properties": {
|
2021-12-02 03:40:01 +00:00
|
|
|
"mindReader.productType": {
|
2021-10-20 19:25:11 +00:00
|
|
|
"type": "string",
|
2021-10-12 19:18:29 +00:00
|
|
|
"description": "Specifies the LEGO® product.",
|
2022-04-09 23:01:52 +00:00
|
|
|
"default": "SPIKE Prime",
|
2021-10-20 19:25:11 +00:00
|
|
|
"enum": [
|
2021-12-02 03:40:01 +00:00
|
|
|
"MINDSTORMS EV3",
|
|
|
|
"SPIKE Prime"
|
2021-10-20 19:25:11 +00:00
|
|
|
],
|
2021-10-12 19:18:29 +00:00
|
|
|
"enumDescriptions": [
|
|
|
|
"LEGO® MINDSTORMS® EV3 (31313)",
|
|
|
|
"LEGO® Education SPIKE™ Prime Set (45678)"
|
|
|
|
]
|
2021-10-12 17:43:10 +00:00
|
|
|
},
|
2021-12-02 03:40:01 +00:00
|
|
|
"mindReader.reader.screenReader": {
|
2021-10-12 19:18:29 +00:00
|
|
|
"type": "string",
|
|
|
|
"description": "Specifies which screen reader to optimize for.",
|
2021-10-12 17:43:10 +00:00
|
|
|
"default": "NVDA",
|
2021-10-20 19:25:11 +00:00
|
|
|
"enum": [
|
2022-04-09 23:01:52 +00:00
|
|
|
"JAWS",
|
2021-10-20 19:25:11 +00:00
|
|
|
"NVDA",
|
|
|
|
"Orca",
|
|
|
|
"VoiceOver"
|
|
|
|
],
|
2021-10-12 19:18:29 +00:00
|
|
|
"enumDescriptions": [
|
2022-04-09 23:01:52 +00:00
|
|
|
"Job Access With Speech (Windows)",
|
2021-10-12 19:18:29 +00:00
|
|
|
"NonVisual Desktop Access (Windows)",
|
|
|
|
"Orca (Linux)",
|
|
|
|
"Apple VoiceOver (macOS)"
|
|
|
|
]
|
|
|
|
},
|
2021-12-02 03:40:01 +00:00
|
|
|
"mindReader.reader.contextWindow": {
|
2021-11-16 17:35:38 +00:00
|
|
|
"type": "number",
|
|
|
|
"description": "The number of words around the cursor to use when reading the cursor context",
|
|
|
|
"default": 1
|
|
|
|
},
|
2021-12-02 03:40:01 +00:00
|
|
|
"mindReader.connection.portPath": {
|
|
|
|
"type": "string",
|
2021-12-02 14:08:53 +00:00
|
|
|
"markdownDescription": "The default port to try and establish a connection on."
|
2021-12-02 03:40:01 +00:00
|
|
|
},
|
|
|
|
"mindReader.connection.clearOutputOnRun": {
|
2021-10-12 19:18:29 +00:00
|
|
|
"type": "boolean",
|
2021-12-02 03:40:01 +00:00
|
|
|
"description": "Whether to clear the output each time the program is run",
|
2021-10-12 19:18:29 +00:00
|
|
|
"default": "true"
|
2021-10-12 17:43:10 +00:00
|
|
|
}
|
|
|
|
}
|
2021-11-18 06:33:55 +00:00
|
|
|
},
|
2021-12-02 03:40:01 +00:00
|
|
|
"views": {
|
|
|
|
"MindReader": [
|
|
|
|
{
|
|
|
|
"id": "accessActions",
|
|
|
|
"name": "Access Actions",
|
|
|
|
"icon": "media/dep.svg",
|
|
|
|
"contextualTitle": "Accessibility Menu Actions"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "hubActions",
|
|
|
|
"name": "Hub Actions",
|
|
|
|
"icon": "media/dep.svg",
|
|
|
|
"contextualTitle": "Hub Connection Actions"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"viewsContainers": {
|
|
|
|
"activitybar": [
|
|
|
|
{
|
|
|
|
"id": "MindReader",
|
|
|
|
"title": "MindReader Actions",
|
|
|
|
"icon": "media/dep.svg"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-09-25 21:18:41 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
"compile": "tsc -p ./",
|
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
"pretest": "npm run compile && npm run lint",
|
|
|
|
"lint": "eslint src --ext ts",
|
|
|
|
"test": "node ./out/test/runTest.js"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/glob": "^7.1.3",
|
|
|
|
"@types/mocha": "^8.2.2",
|
2021-12-02 03:40:01 +00:00
|
|
|
"@types/node": "16.x",
|
|
|
|
"@types/serialport": "^8.0.2",
|
|
|
|
"@types/vscode": "^1.60.0",
|
2021-09-25 21:18:41 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.26.0",
|
|
|
|
"@typescript-eslint/parser": "^4.26.0",
|
2021-12-02 03:40:01 +00:00
|
|
|
"@vscode/test-electron": "^1.6.2",
|
|
|
|
"eslint": "^7.27.0",
|
2021-09-25 21:18:41 +00:00
|
|
|
"glob": "^7.1.7",
|
|
|
|
"mocha": "^8.4.0",
|
|
|
|
"typescript": "^4.3.2",
|
2021-12-02 03:40:01 +00:00
|
|
|
"vscode-test": "^1.5.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"serialport": "^9.2.5"
|
2021-09-25 21:18:41 +00:00
|
|
|
}
|
|
|
|
}
|