Skip to content
This repository has been archived by the owner on Dec 23, 2021. It is now read-only.

Commit

Permalink
Remove preview model for microbit (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandyliu authored Mar 19, 2020
1 parent 75b7040 commit 3810e54
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 36 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ In Device Simulator Express, you can use keyboard to interact with the device:


## BBC micro:bit Simulator
>**NOTE 1**: this feature is hidden by default. To use it, enable the feature flag in the "deviceSimulatorExpress.previewMode" user setting.
>**NOTE 2**: micro:bit simulation is still in development. Features may not work as intended.

### Features
- IntelliSense and syntax highlighting for micro:bit code
Expand Down
3 changes: 1 addition & 2 deletions locales/en/package.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
"deviceSimulatorExpressExtension.configuration.title": "Device Simulator Express configuration",
"deviceSimulatorExpressExtension.configuration.properties.configEnvOnChange": "When you change the Python interpreter, the Device Simulator Express will automatically configure itself for the required dependencies.",
"deviceSimulatorExpressExtension.configuration.properties.debuggerPort": "The port the Server will listen on for communication with the debugger.",
"deviceSimulatorExpressExtension.configuration.properties.dependencyChecker": "Whether or not to ask if we can download dependencies. If unchecked, the extension will default to never download dependencies, except when automatically creating a virtual environment in the extension files.",
"deviceSimulatorExpressExtension.configuration.properties.previewMode": "Enable this to test out and play with the new micro:bit simulator!"
"deviceSimulatorExpressExtension.configuration.properties.dependencyChecker": "Whether or not to ask if we can download dependencies. If unchecked, the extension will default to never download dependencies, except when automatically creating a virtual environment in the extension files."
}
28 changes: 0 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,28 +106,6 @@
"category": "%deviceSimulatorExpressExtension.commands.common.label%"
}
],
"menus": {
"commandPalette": [
{
"command": "deviceSimulatorExpress.microbit.deployToDevice",
"title": "%deviceSimulatorExpressExtension.commands.microbit.deployToDevice%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%",
"when": "config.deviceSimulatorExpress.previewMode"
},
{
"command": "deviceSimulatorExpress.microbit.openSimulator",
"title": "%deviceSimulatorExpressExtension.commands.microbit.openSimulator%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%",
"when": "config.deviceSimulatorExpress.previewMode"
},
{
"command": "deviceSimulatorExpress.microbit.newFile",
"title": "%deviceSimulatorExpressExtension.commands.microbit.newFile%",
"category": "%deviceSimulatorExpressExtension.commands.common.label%",
"when": "config.deviceSimulatorExpress.previewMode"
}
]
},
"colors": [
{
"id": "highContrastButtonBorderOverride.color",
Expand Down Expand Up @@ -178,12 +156,6 @@
"default": 5577,
"description": "%deviceSimulatorExpressExtension.configuration.properties.debuggerPort%",
"scope": "resource"
},
"deviceSimulatorExpress.previewMode": {
"type": "boolean",
"default": false,
"description": "%deviceSimulatorExpressExtension.configuration.properties.previewMode%",
"scope": "resource"
}
}
},
Expand Down
3 changes: 1 addition & 2 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
"deviceSimulatorExpressExtension.configuration.title": "Device Simulator Express configuration",
"deviceSimulatorExpressExtension.configuration.properties.configEnvOnChange": "When you change the Python interpreter, the Device Simulator Express will automatically configure itself for the required dependencies.",
"deviceSimulatorExpressExtension.configuration.properties.debuggerPort": "The port the Server will listen on for communication with the debugger.",
"deviceSimulatorExpressExtension.configuration.properties.dependencyChecker": "Whether or not to ask for dependency downloads. If unchecked, the extension will default to never download dependencies, except when automatically creating a virtual environment in the extension files.",
"deviceSimulatorExpressExtension.configuration.properties.previewMode": "Enable this to test out and play with the new micro:bit simulator!"
"deviceSimulatorExpressExtension.configuration.properties.dependencyChecker": "Whether or not to ask for dependency downloads. If unchecked, the extension will default to never download dependencies, except when automatically creating a virtual environment in the extension files."
}
1 change: 0 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const CONFIG = {
CONFIG_ENV_ON_SWITCH:
"deviceSimulatorExpress.configNewEnvironmentUponSwitch",
PYTHON_PATH: "python.pythonPath",
ENABLE_PREVIEW_MODE: "deviceSimulatorExpress.previewMode",
SHOW_DEPENDENCY_INSTALL: "deviceSimulatorExpress.showDependencyInstall",
SHOW_NEW_FILE_POPUP: "deviceSimulatorExpress.showNewFilePopup",
};
Expand Down

0 comments on commit 3810e54

Please sign in to comment.