From 6a0b95c8b3e89875e0a2bfd6495ba0ede49fb4e9 Mon Sep 17 00:00:00 2001 From: Andrea Mah Date: Fri, 25 Jun 2021 14:49:37 -0600 Subject: [PATCH 1/2] workspace trust and virtual workspace update, added icon for deploy to device --- package.json | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c3d9e093..3ecb0903 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,16 @@ "categories": [ "Other" ], + "capabilities": { + "untrustedWorkspaces": { + "supported": false, + "description": "Device Simulator Express runs Python files in the workspace." + }, + "virtualWorkspaces": { + "supported": false, + "description": "Depends on the Python extension, which does not support virtual Workspaces." + } + }, "preview": true, "license": "MIT", "homepage": "https://github.com/microsoft/vscode-python-devicesimulator", @@ -81,7 +91,8 @@ { "command": "deviceSimulatorExpress.common.deployToDevice", "title": "%deviceSimulatorExpressExtension.commands.common.deployToDevice%", - "category": "%deviceSimulatorExpressExtension.commands.common.label%" + "category": "%deviceSimulatorExpressExtension.commands.common.label%", + "icon": "$(circuit-board)" }, { "command": "deviceSimulatorExpress.common.newFile", @@ -223,7 +234,16 @@ } ] } - ] + ], + "menus": { + "editor/title": [ + { + "command": "deviceSimulatorExpress.common.deployToDevice", + "when": "editorLangId == python && !notebookEditorFocused", + "group": "navigation" + } + ] + } }, "scripts": { "start": "webpack-dev-server", From 5991ec5083c00759dbdfbc8650984e5316d7978f Mon Sep 17 00:00:00 2001 From: Andrea Mah Date: Fri, 25 Jun 2021 15:00:24 -0600 Subject: [PATCH 2/2] whitespace fix --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 3ecb0903..a4ffb2af 100644 --- a/package.json +++ b/package.json @@ -236,13 +236,13 @@ } ], "menus": { - "editor/title": [ - { - "command": "deviceSimulatorExpress.common.deployToDevice", - "when": "editorLangId == python && !notebookEditorFocused", + "editor/title": [ + { + "command": "deviceSimulatorExpress.common.deployToDevice", + "when": "editorLangId == python && !notebookEditorFocused", "group": "navigation" - } - ] + } + ] } }, "scripts": {