From 8d4083da05f1f8c46447a00dde60957b5a9050b5 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 15:06:44 -0700 Subject: [PATCH 01/21] changing doc --- docs/how-to-use.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 18ab71545..f0c6936d8 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -18,6 +18,16 @@ Commands are accessible through : - **Deploy to Device** : saves the code to a Circuit Playground Express. _(**Note :** the board needs to be correctly formatted to a `CIRCUITPY` drive first if it's not the case : [Installing CircuitPython](https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython))_. +- **Select Serial Port** : selects the serial port connect to the board you want the serial monitor to interact with. + _(**Note :** USB detection must be enabled in the extension settings.)_ + +- **Open Serial Monitor** : opens the serial monitor. + _(**Note :** .A serial port must have been selected already)_. + +- **Change Baud Rate** : changes the baud rate of the serial monitor. + +- **Close Serial Montitor** : closes the serial monitor. + ## Available features - We currently support the [Adafruit Circuit Playground Express board](https://www.adafruit.com/product/3333) @@ -51,6 +61,12 @@ Commands are accessible through : - Motion sensors - Tap detection +## Pacifica configuration + +Here are the settings you can change in the Pacifica configuration: + +- **Debugger Server Port:** Allow you to change the port used to communicate with + ## Troubleshooting Tips - The first time you install the extension, you'll need to execute the `run` command at least once in order to access auto-completion. From 4a7ce24efb4ddcd405ddcb74cf8ff5cf3acb8541 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 15:34:57 -0700 Subject: [PATCH 02/21] added app insight to doc --- docs/developers-setup.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index 1c15f853b..8e2e78a1c 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -30,13 +30,17 @@ - Run the command in a console : `pip install python-socketio` -- Requests +- Application insight + + - Run the command in a console : `ppip install applicationinsights` + +* Requests - Run the command in a console : `pip install requests` -- VS Code +* VS Code -- Python extension for VS Code (download from VS Code market place) +* Python extension for VS Code (download from VS Code market place) ## Steps to Get Started Running the Extension in Debug Mode From 29f4c3191d56333e2364064a00ce55a197023e98 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 15:35:12 -0700 Subject: [PATCH 03/21] adding configuration section --- docs/how-to-use.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index f0c6936d8..71bf2171a 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -3,7 +3,7 @@ Commands are accessible through : - **The command palette** (`Ctrl+shift+P` or `View->Command Palette`) and type 'Pacifica : `command_name`' -- **The extension buttons** available on the top right of the Text Editor Panel when you have a Python file open +- **The extension buttons** available on the top right of the Text Editor Panel when you have a Python file open\* ## Available commands @@ -56,8 +56,8 @@ Commands are accessible through : - Device's features - Sound sensor - Tones - - Sound detection\* - - IR transmitter\* + - Sound detection\*\* + - IR transmitter\*\* - Motion sensors - Tap detection @@ -65,7 +65,15 @@ Commands are accessible through : Here are the settings you can change in the Pacifica configuration: -- **Debugger Server Port:** Allow you to change the port used to communicate with +- **Debugger Server Port:** allow you to change the port used to communicate with the debugger.Default value is _5577_. + +- **Enable USBDetection:** when disabled, prevents the serial monitor from listennig messages from the serial port. + +- **Show Device Icon In Editor Title Menu:** allow you to chose whether the _`deploy to device`_ button should be in the editor title. + +- \*\* + +- *** ## Troubleshooting Tips @@ -78,5 +86,6 @@ Here are the settings you can change in the Pacifica configuration: ### Note -\* Sensors currently not supported by the official adafruit_circuit_playground Express library (v2.1.2). -\*\* The regular communication is using the stdout and stdin of the Pyhton process. But when you debug your code, it will use a communication over sockets on the port 5577. This is the default port that you can change in your `Settings` : `'Pacifica: Debugger Server Port'`. +\* Can be changed in settings. +\*\* Sensors currently not supported by the official adafruit_circuit_playground Express library (v2.1.2). +\*\*\* The regular communication is using the stdout and stdin of the Pyhton process. But when you debug your code, it will use a communication over sockets on the port 5577. This is the default port that you can change in your `Settings` : `'Pacifica: Debugger Server Port'`. From f5d865264d5f167d99ba6a2178b3f63462f678a2 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 16:53:29 -0700 Subject: [PATCH 04/21] fixed sound svg issue --- src/view/styles/Button.css | 18 ++++++++++++++---- src/view/svgs/toolbar_svg.tsx | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/view/styles/Button.css b/src/view/styles/Button.css index 5f19a0e74..3a6153c90 100644 --- a/src/view/styles/Button.css +++ b/src/view/styles/Button.css @@ -7,6 +7,9 @@ .button-icon { fill: var(--vscode-badgeForegroundOverride); } +.button-rectangle { + stroke: var(--vscode-badgeForegroundOverride); +} .play-button { border-radius: 8px 0px 0px 8px; @@ -18,12 +21,15 @@ border-color: var(--vscode-highContrastButtonBorderOverride-color); } -.button:focus, -.button:hover { +.play-button:focus, +.play-button:hover, +.refresh-button:focus, +.play-button:hover { background-color: var(--vscode-terminal-selectionBackground); } -.button:active { +.play-button:active, +.refresh-button:active { background-color: var(--vscode-editor-selectionHighlightBackground); } @@ -31,9 +37,9 @@ border: none; } -.toolbar-button:focus, .toolbar-button:hover { outline: none; + background-color: var(--vscode-terminal-selectionBackground); } .edge-button { @@ -45,3 +51,7 @@ background-color: var(--vscode-button-background); outline: none; } + +.sound-svg { + padding-top: 1px; +} diff --git a/src/view/svgs/toolbar_svg.tsx b/src/view/svgs/toolbar_svg.tsx index 99aeaf196..d763724ad 100644 --- a/src/view/svgs/toolbar_svg.tsx +++ b/src/view/svgs/toolbar_svg.tsx @@ -355,13 +355,13 @@ export const SOUND_SVG = ( /> From 2fd031ea2806902a5a41644d006bc8982d4c811d Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 16:56:53 -0700 Subject: [PATCH 05/21] adding config doc --- docs/how-to-use.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 71bf2171a..9a154dfd6 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -69,7 +69,11 @@ Here are the settings you can change in the Pacifica configuration: - **Enable USBDetection:** when disabled, prevents the serial monitor from listennig messages from the serial port. -- **Show Device Icon In Editor Title Menu:** allow you to chose whether the _`deploy to device`_ button should be in the editor title. +- **Show Device Icon In Editor Title Menu:** allow you to chose whether the _`Deploy to Device`_ button should be in the editor title. + +- **Show Open Icon In Editor Title Menu:** allow you to chose whether the _`Open Simulator`_ button should be in the editor title. + +- **Show Simulator Icon In Editor Title Menu:** allow you to chose whether the _`Run Simulator`_ button should be in the editor title. - \*\* From bbb406e7549dac75c9b0d67af1b2937190f39a45 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 17:02:18 -0700 Subject: [PATCH 06/21] removing unused line --- docs/how-to-use.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 9a154dfd6..f9a9d79d7 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -75,10 +75,6 @@ Here are the settings you can change in the Pacifica configuration: - **Show Simulator Icon In Editor Title Menu:** allow you to chose whether the _`Run Simulator`_ button should be in the editor title. -- \*\* - -- *** - ## Troubleshooting Tips - The first time you install the extension, you'll need to execute the `run` command at least once in order to access auto-completion. From 6fdc6cd0556912e850bd26092cf943495d52661e Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 17:10:45 -0700 Subject: [PATCH 07/21] updating important files --- docs/developers-setup.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index 8e2e78a1c..080612ff4 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -74,3 +74,5 @@ - `view` : React side - `components/` - `cpx/` and `Simulator.tsx` : contain the React components and objects to display and handle the simulator webview + - `toolbar/` : contains the React components used in the toolbar and the modal. + - `translation/en.json`: contains the constants that should be localized. To internationalize the extension you can add additionnal files with constant sharing the same id that _en.json_ but with the translated value. From cb2c4a49af98fd4d71fddb16b42df893a377e140 Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Tue, 20 Aug 2019 17:14:21 -0700 Subject: [PATCH 08/21] corrections --- docs/developers-setup.md | 6 +++--- src/view/styles/Button.css | 4 ---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index 080612ff4..dd4c798dd 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -34,13 +34,13 @@ - Run the command in a console : `ppip install applicationinsights` -* Requests +- Requests - Run the command in a console : `pip install requests` -* VS Code +- VS Code -* Python extension for VS Code (download from VS Code market place) +- Python extension for VS Code (download from VS Code market place) ## Steps to Get Started Running the Extension in Debug Mode diff --git a/src/view/styles/Button.css b/src/view/styles/Button.css index 3a6153c90..b3ea6ee38 100644 --- a/src/view/styles/Button.css +++ b/src/view/styles/Button.css @@ -51,7 +51,3 @@ background-color: var(--vscode-button-background); outline: none; } - -.sound-svg { - padding-top: 1px; -} From 27fc50b9cf6f433cd0ef0d4548314bd7b3f04a23 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:54:14 -0700 Subject: [PATCH 09/21] Update docs/developers-setup.md Co-Authored-By: Jonathan Wang --- docs/developers-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index dd4c798dd..7c7e47c59 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -32,7 +32,7 @@ - Application insight - - Run the command in a console : `ppip install applicationinsights` + - Run the command in a console : `pip install applicationinsights` - Requests From c90842ec84adadcf63fbe82647a76e3f0cd8bc39 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:54:34 -0700 Subject: [PATCH 10/21] Update docs/developers-setup.md Co-Authored-By: Jonathan Wang --- docs/developers-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index 7c7e47c59..62014c28d 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -75,4 +75,4 @@ - `components/` - `cpx/` and `Simulator.tsx` : contain the React components and objects to display and handle the simulator webview - `toolbar/` : contains the React components used in the toolbar and the modal. - - `translation/en.json`: contains the constants that should be localized. To internationalize the extension you can add additionnal files with constant sharing the same id that _en.json_ but with the translated value. + - `translation/en.json`: contains the constants that should be localized. To internationalize the extension you can add additional files with constants sharing the same id found in _en.json_, but with the translated value. From 0f54fd52d5309e3afc94b221069a14d5606570ce Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:55:38 -0700 Subject: [PATCH 11/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index f9a9d79d7..cf70c2bc0 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -88,4 +88,4 @@ Here are the settings you can change in the Pacifica configuration: \* Can be changed in settings. \*\* Sensors currently not supported by the official adafruit_circuit_playground Express library (v2.1.2). -\*\*\* The regular communication is using the stdout and stdin of the Pyhton process. But when you debug your code, it will use a communication over sockets on the port 5577. This is the default port that you can change in your `Settings` : `'Pacifica: Debugger Server Port'`. +\*\*\* The regular communication is using the stdout and stdin of the Python process. But when you debug your code, it will communicate over sockets on port 5577. This is the default port that you can change in your `Settings` : `'Pacifica: Debugger Server Port'`. From e5ef805eb9823a42a3b3662a198221084a78239b Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:55:58 -0700 Subject: [PATCH 12/21] Update docs/developers-setup.md Co-Authored-By: Jonathan Wang --- docs/developers-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers-setup.md b/docs/developers-setup.md index 62014c28d..5b5a35a19 100644 --- a/docs/developers-setup.md +++ b/docs/developers-setup.md @@ -30,7 +30,7 @@ - Run the command in a console : `pip install python-socketio` -- Application insight +- Application Insights - Run the command in a console : `pip install applicationinsights` From ad531c2318d453e2b81252e8e6bedb9e1b7b6957 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:56:19 -0700 Subject: [PATCH 13/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index cf70c2bc0..0ca1093de 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -18,7 +18,7 @@ Commands are accessible through : - **Deploy to Device** : saves the code to a Circuit Playground Express. _(**Note :** the board needs to be correctly formatted to a `CIRCUITPY` drive first if it's not the case : [Installing CircuitPython](https://learn.adafruit.com/welcome-to-circuitpython/installing-circuitpython))_. -- **Select Serial Port** : selects the serial port connect to the board you want the serial monitor to interact with. +- **Select Serial Port** : selects the serial port of the board you want the serial monitor to interact with. _(**Note :** USB detection must be enabled in the extension settings.)_ - **Open Serial Monitor** : opens the serial monitor. From 5f0d8432b120119ac288666c298258076d63cdf7 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:57:29 -0700 Subject: [PATCH 14/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 0ca1093de..b484b41b4 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -22,7 +22,7 @@ Commands are accessible through : _(**Note :** USB detection must be enabled in the extension settings.)_ - **Open Serial Monitor** : opens the serial monitor. - _(**Note :** .A serial port must have been selected already)_. + _(**Note :** A serial port must have been selected already)_. - **Change Baud Rate** : changes the baud rate of the serial monitor. From 6e37b3b3b4f99a789dec482d3d2adff1a722ed02 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:57:46 -0700 Subject: [PATCH 15/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index b484b41b4..efccf4e8b 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -69,7 +69,7 @@ Here are the settings you can change in the Pacifica configuration: - **Enable USBDetection:** when disabled, prevents the serial monitor from listennig messages from the serial port. -- **Show Device Icon In Editor Title Menu:** allow you to chose whether the _`Deploy to Device`_ button should be in the editor title. +- **Show Device Icon In Editor Title Menu:** allows you to choose whether the _`Deploy to Device`_ button should be in the editor title. - **Show Open Icon In Editor Title Menu:** allow you to chose whether the _`Open Simulator`_ button should be in the editor title. From 2b75da45bcd9897dfb5cb2b0a419b4d686fdbbb3 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 10:59:36 -0700 Subject: [PATCH 16/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index efccf4e8b..5ee093a81 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -73,7 +73,7 @@ Here are the settings you can change in the Pacifica configuration: - **Show Open Icon In Editor Title Menu:** allow you to chose whether the _`Open Simulator`_ button should be in the editor title. -- **Show Simulator Icon In Editor Title Menu:** allow you to chose whether the _`Run Simulator`_ button should be in the editor title. +- **Show Simulator Icon In Editor Title Menu:** allows you to choose whether the _`Run Simulator`_ button should be in the editor title. ## Troubleshooting Tips From f6d75fa1a89b0f53099119f88020d1e0c1b4f0cd Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Wed, 21 Aug 2019 11:04:15 -0700 Subject: [PATCH 17/21] updated according to review --- docs/how-to-use.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 5ee093a81..e6a18db46 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -35,6 +35,7 @@ Commands are accessible through : - Output panel for the simulator - Deploy to the physical device (if correctly formatted) - Debugger for the simulator +- Serial Monitor - Device's features : - NeoPixels - Buttons (A & B) @@ -52,7 +53,6 @@ Commands are accessible through : ## Not supported yet - Auto-detect/format the device -- Serial monitor for the device - Device's features - Sound sensor - Tones @@ -87,5 +87,5 @@ Here are the settings you can change in the Pacifica configuration: ### Note \* Can be changed in settings. -\*\* Sensors currently not supported by the official adafruit_circuit_playground Express library (v2.1.2). +\*\* Sensors currently not supported by the official adafruit_circuit_playground.express library (v2.1.2). \*\*\* The regular communication is using the stdout and stdin of the Python process. But when you debug your code, it will communicate over sockets on port 5577. This is the default port that you can change in your `Settings` : `'Pacifica: Debugger Server Port'`. From 61d12931092cd55288ea65fb17be2ab23ca445d3 Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 11:45:45 -0700 Subject: [PATCH 18/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index e6a18db46..3e7d2289f 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -67,7 +67,7 @@ Here are the settings you can change in the Pacifica configuration: - **Debugger Server Port:** allow you to change the port used to communicate with the debugger.Default value is _5577_. -- **Enable USBDetection:** when disabled, prevents the serial monitor from listennig messages from the serial port. +- **Enable USBDetection:** when disabled, prevents the serial monitor from listening to messages from the serial port. - **Show Device Icon In Editor Title Menu:** allows you to choose whether the _`Deploy to Device`_ button should be in the editor title. From 17f21ea866c9cd1930ccd7d3bd7e18222d3ec8ae Mon Sep 17 00:00:00 2001 From: FMounz <43461676+FMounz@users.noreply.github.com> Date: Wed, 21 Aug 2019 11:46:22 -0700 Subject: [PATCH 19/21] Update docs/how-to-use.md Co-Authored-By: Jonathan Wang --- docs/how-to-use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index 3e7d2289f..9e39f48f9 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -65,7 +65,7 @@ Commands are accessible through : Here are the settings you can change in the Pacifica configuration: -- **Debugger Server Port:** allow you to change the port used to communicate with the debugger.Default value is _5577_. +- **Debugger Server Port:** allows you to change the port used to communicate with the debugger. Default value is _5577_. - **Enable USBDetection:** when disabled, prevents the serial monitor from listening to messages from the serial port. From 877f8be939935d44ad331aeaf3e0f2d5dde927cf Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Wed, 21 Aug 2019 11:50:06 -0700 Subject: [PATCH 20/21] correcting typo --- docs/how-to-use.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/how-to-use.md b/docs/how-to-use.md index e6a18db46..f2c79cd8e 100644 --- a/docs/how-to-use.md +++ b/docs/how-to-use.md @@ -65,15 +65,15 @@ Commands are accessible through : Here are the settings you can change in the Pacifica configuration: -- **Debugger Server Port:** allow you to change the port used to communicate with the debugger.Default value is _5577_. +- **Debugger Server Port:** allows you to change the port used to communicate with the debugger.Default value is _5577_. -- **Enable USBDetection:** when disabled, prevents the serial monitor from listennig messages from the serial port. +- **Enable USBDetection:** when disabled, prevents the serial monitor from listenig messages from the serial port. -- **Show Device Icon In Editor Title Menu:** allows you to choose whether the _`Deploy to Device`_ button should be in the editor title. +- **Show Device Icon In Editor Title Menu:** allows you to chose whether the _`Deploy to Device`_ button should be in the editor title. -- **Show Open Icon In Editor Title Menu:** allow you to chose whether the _`Open Simulator`_ button should be in the editor title. +- **Show Open Icon In Editor Title Menu:** allows you to chose whether the _`Open Simulator`_ button should be in the editor title. -- **Show Simulator Icon In Editor Title Menu:** allows you to choose whether the _`Run Simulator`_ button should be in the editor title. +- **Show Simulator Icon In Editor Title Menu:** allows you to chose whether the _`Run Simulator`_ button should be in the editor title. ## Troubleshooting Tips From b28a1540d1611b57a5fc1662010ebd874314db9d Mon Sep 17 00:00:00 2001 From: Fatou Mounzeo Date: Wed, 21 Aug 2019 13:19:53 -0700 Subject: [PATCH 21/21] put css back --- src/view/styles/Button.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/view/styles/Button.css b/src/view/styles/Button.css index b3ea6ee38..bd2b1c8fe 100644 --- a/src/view/styles/Button.css +++ b/src/view/styles/Button.css @@ -21,15 +21,12 @@ border-color: var(--vscode-highContrastButtonBorderOverride-color); } -.play-button:focus, -.play-button:hover, -.refresh-button:focus, -.play-button:hover { +.button:focus, +.button:hover { background-color: var(--vscode-terminal-selectionBackground); } -.play-button:active, -.refresh-button:active { +.button:active { background-color: var(--vscode-editor-selectionHighlightBackground); } @@ -39,7 +36,6 @@ .toolbar-button:hover { outline: none; - background-color: var(--vscode-terminal-selectionBackground); } .edge-button {