Mind_Reader/package.json
John de3c9bf435 ev3Manager:
- Start work on ev3 support
- Explore functionality of ev3dev-Browser
- Realize it's super limited
2022-04-09 21:19:11 -05:00

396 lines
9.6 KiB
JSON

{
"name": "mind-reader",
"displayName": "Mind_Reader",
"repository": "https://github.com/We-Dont-Byte/Mind_Reader",
"version": "1.0.0",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "mind-reader.increaseFontScale",
"title": "Increase Font Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.decreaseFontScale",
"title": "Decrease Font Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.resetFontScale",
"title": "Reset Font Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.increaseEditorScale",
"title": "Increase Editor Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.decreaseEditorScale",
"title": "Decrease Editor Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.resetEditorScale",
"title": "Reset Editor Scale",
"category": "Mind Reader"
},
{
"command": "mind-reader.selectTheme",
"title": "Select Theme",
"category": "Mind Reader"
},
{
"command": "mind-reader.openWebview",
"title": "Mind Reader Webview"
},
{
"command": "mind-reader.openKeybinds",
"title": "Edit Keybinds",
"category": "Mind Reader"
},
{
"command": "mind-reader.runLineContext",
"title": "Get the Context of the Current Line",
"category": "Mind Reader"
},
{
"command": "mind-reader.runCursorContext",
"title": "Get the Context of Text Under Cursor",
"category": "Mind Reader"
},
{
"command": "mind-reader.getIndent",
"title": "Get Line Indentation",
"category": "Mind_Reader"
},
{
"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"
},
{
"command": "mind-reader.getLineNumber",
"title": "Get Line Number",
"category": "Mind Reader"
},
{
"command": "mind-reader.getQuickInputBack",
"title": "Go Back in Quick Input",
"category": "Mind Reader"
},
{
"command": "mind-reader.gotoLine",
"title": "Go to Line",
"category": "Mind Reader"
},
{
"command": "mind-reader.gotoSymbol",
"title": "Go to Symbol",
"category": "Mind Reader"
},
{
"command": "mind-reader.navigateBack",
"title": "Navigate Backward",
"category": "Mind Reader"
},
{
"command": "mind-reader.navigateForward",
"title": "Navigate Forward",
"category": "Mind Reader"
},
{
"command": "mind-reader.nextInFiles",
"title": "Go to Next Problem in Files (Error, Warning, Info)",
"category": "Mind Reader"
},
{
"command": "mind-reader.prevInFiles",
"title": "Go to Previous Problem in Files (Error, Warning, Info)",
"category": "Mind Reader"
},
{
"command": "mind-reader.quickOpen",
"title": "Go to File...",
"category": "Mind Reader"
},
{
"command": "mind-reader.quickOpenPreviousRecentlyUsedEditorInGroup",
"title": "View: Quick Open Previous Recently Used Editor in Group"
},
{
"command": "mind-reader.showAllSymbols",
"title": "Go to Symbol in Workspace...",
"category": "Mind Reader"
},
{
"command": "mind-reader.showProblems",
"title": "Show Problems",
"category": "Mind Reader"
},
{
"command": "mind-reader.showCommands",
"title": "Show All Commands",
"category": "Mind Reader"
}
],
"keybindings": [
{
"command": "editor.action.fontZoomOut",
"key": "Shift+Alt+z -",
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
},
{
"command": "editor.action.fontZoomIn",
"key": "Shift+Alt+z =",
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
},
{
"command": "editor.action.fontZoomReset",
"key": "Shift+Alt+z 0",
"when": "editorTextFocus && config.mindReader.reader.screenReader != JAWS"
},
{
"command": "mind-reader.getIndent",
"key": "Ctrl+Shift+/ I",
"mac": "Cmd+Shift+[Slash] I",
"when": "editorTextFocus"
},
{
"command": "mind-reader.getLeadingSpaces",
"key": "Ctrl+Shift+/ S",
"mac": "Cmd+Shift+[Slash] S",
"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"
},
{
"command": "mind-reader.openKeybinds",
"key": "Ctrl+Shift+/ K",
"mac": "Cmd+Shift+[Slash] K"
},
{
"command": "mind-reader.ev3.test",
"key": "Ctrl+E Ctrl+V"
}
],
"menus": {
"editor/context": [
{
"submenu": "mind-reader.editor.context",
"group": "mind-reader"
}
],
"mind-reader.editor.context": [
{
"command": "mind-reader.increaseEditorScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.decreaseFontScale",
"group": "mind-reader",
"when": "activeEditor"
},
{
"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"
},
{
"command": "mind-reader.selectTheme",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.openWebview",
"group": "mind-reader",
"when": "activeEditor"
},
{
"command": "mind-reader.openKeybinds",
"group": "mind-reader",
"when": "activeEditor"
}
]
},
"submenus": [
{
"id": "mind-reader.editor.context",
"label": "Mind_Reader"
}
],
"configuration": {
"title": "Mind_Reader",
"properties": {
"mindReader.productType": {
"type": "string",
"description": "Specifies the LEGO® product.",
"default": "SPIKE Prime",
"enum": [
"MINDSTORMS EV3",
"SPIKE Prime"
],
"enumDescriptions": [
"LEGO® MINDSTORMS® EV3 (31313)",
"LEGO® Education SPIKE™ Prime Set (45678)"
]
},
"mindReader.reader.screenReader": {
"type": "string",
"description": "Specifies which screen reader to optimize for.",
"default": "NVDA",
"enum": [
"JAWS",
"NVDA",
"Orca",
"VoiceOver"
],
"enumDescriptions": [
"Job Access With Speech (Windows)",
"NonVisual Desktop Access (Windows)",
"Orca (Linux)",
"Apple VoiceOver (macOS)"
]
},
"mindReader.reader.contextWindow": {
"type": "number",
"description": "The number of words around the cursor to use when reading the cursor context",
"default": 1
},
"mindReader.connection.portPath": {
"type": "string",
"markdownDescription": "The default port to try and establish a connection on."
},
"mindReader.connection.clearOutputOnRun": {
"type": "boolean",
"description": "Whether to clear the output each time the program is run",
"default": "true"
}
}
},
"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"
}
]
}
},
"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",
"@types/node": "16.x",
"@types/serialport": "^8.0.2",
"@types/vscode": "^1.60.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"@vscode/test-electron": "^1.6.2",
"eslint": "^7.27.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2"
},
"dependencies": {
"serialport": "^9.2.5"
}
}