2021-09-25 21:18:41 +00:00
|
|
|
{
|
|
|
|
"name": "mind-reader",
|
|
|
|
"displayName": "Mind_Reader",
|
|
|
|
"description": "",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.60.0"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"onStartupFinished"
|
|
|
|
],
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
"contributes": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "mind-reader.helloWorld",
|
|
|
|
"title": "Hello World"
|
2021-10-17 00:30:40 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.increaseFontScale",
|
|
|
|
"title": "Increase Font Scale"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.decreaseFontScale",
|
|
|
|
"title": "Decrease Font Scale"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.resetFontScale",
|
|
|
|
"title": "Reset Font Scale"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.increaseEditorScale",
|
|
|
|
"title": "Increase Editor Scale"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.decreaseEditorScale",
|
|
|
|
"title": "Decrease Editor Scale"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.resetEditorScale",
|
|
|
|
"title": "Reset Editor Scale"
|
2021-10-19 17:46:05 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.selectTheme",
|
|
|
|
"title": "Select Theme"
|
2021-11-16 17:35:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.runLineContext",
|
|
|
|
"title": "Run Line Context"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "mind-reader.runCursorContext",
|
|
|
|
"title": "Run Cursor Context"
|
2021-11-18 01:36:18 +00:00
|
|
|
},
|
2021-11-16 17:35:38 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.connectHub",
|
|
|
|
"title": "Connect LEGO Hub"
|
|
|
|
},
|
2021-10-19 16:52:58 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.disconnectHub",
|
|
|
|
"title": "Disconnect LEGO Hub"
|
|
|
|
},
|
2021-10-20 19:25:11 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.uploadCurrentFile",
|
|
|
|
"title": "Upload current file to LEGO Hub"
|
|
|
|
},
|
2021-10-20 19:25:11 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.runProgram",
|
|
|
|
"title": "Run a program from the LEGO Hub"
|
|
|
|
},
|
2021-10-20 19:25:11 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.stopExecution",
|
|
|
|
"title": "Stop running program on the LEGO Hub"
|
|
|
|
},
|
2021-11-18 01:36:18 +00:00
|
|
|
|
2021-11-18 18:00:46 +00:00
|
|
|
{
|
|
|
|
"command": "mind-reader.deleteProgram",
|
|
|
|
"title": "Delete a program from the LEGO Hub"
|
|
|
|
}
|
2021-11-18 01:36:18 +00:00
|
|
|
],
|
|
|
|
"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": ""
|
|
|
|
}
|
|
|
|
],
|
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-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-10-12 19:18:29 +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.",
|
2021-10-12 17:43:10 +00:00
|
|
|
"default": "MINDSTORMS® EV3",
|
2021-10-20 19:25:11 +00:00
|
|
|
"enum": [
|
|
|
|
"MINDSTORMS® EV3",
|
|
|
|
"SPIKE™ Prime"
|
|
|
|
],
|
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-11-16 17:35:38 +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": [
|
|
|
|
"NVDA",
|
|
|
|
"Orca",
|
|
|
|
"VoiceOver"
|
|
|
|
],
|
2021-10-12 19:18:29 +00:00
|
|
|
"enumDescriptions": [
|
|
|
|
"NonVisual Desktop Access (Windows)",
|
|
|
|
"Orca (Linux)",
|
|
|
|
"Apple VoiceOver (macOS)"
|
|
|
|
]
|
|
|
|
},
|
2021-11-16 17:35:38 +00:00
|
|
|
"mindreader.reader.contextWindow": {
|
|
|
|
"type": "number",
|
|
|
|
"description": "The number of words around the cursor to use when reading the cursor context",
|
|
|
|
"default": 1
|
|
|
|
},
|
2021-10-12 19:18:29 +00:00
|
|
|
"mindreader.connection.connectAutomatically": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Specifies whether to try to automatically detect and communicate with a connected Hub.",
|
|
|
|
"default": "true"
|
|
|
|
},
|
|
|
|
"mindreader.connection.portPath": {
|
|
|
|
"type": "string",
|
|
|
|
"markdownDescription": "Specifies the serial port path to use if `#mindreader.connectAutomatically#` is not set."
|
2021-11-18 18:00:46 +00:00
|
|
|
},
|
|
|
|
"mindreader.connection.clearOutputOnRun": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Whether to clear the output each time the program is run",
|
|
|
|
"default": "true"
|
|
|
|
}
|
2021-10-12 17:43:10 +00:00
|
|
|
}
|
2021-11-16 18:44:39 +00:00
|
|
|
},
|
2021-11-18 01:36:18 +00:00
|
|
|
"views": {
|
|
|
|
"accessActions": [
|
|
|
|
{
|
|
|
|
"id": "accessActions",
|
|
|
|
"name": "Access Actions",
|
|
|
|
"icon": "media/dep.svg",
|
|
|
|
"contextualTitle": "Accessibility Menu Actions"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"viewsContainers": {
|
|
|
|
"activitybar": [
|
|
|
|
{
|
|
|
|
"id": "accessActions",
|
|
|
|
"title": "Access 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-11-18 01:36:18 +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-11-18 01:36:18 +00:00
|
|
|
"@vscode/test-electron": "^1.6.2",
|
|
|
|
"electron": "^13.5.2",
|
|
|
|
"electron-rebuild": "^3.2.5",
|
|
|
|
"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-11-18 01:36:18 +00:00
|
|
|
"vscode-test": "^1.5.2"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"serialport": "^9.2.5"
|
2021-09-25 21:18:41 +00:00
|
|
|
}
|
|
|
|
}
|