You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2021. It is now read-only.
PBI: 32822
Task: 32598
* install dependencies for users
* Only show the dialog once if you click yes
* Update docs
* update develope docs
* Add success notifications
Copy file name to clipboardExpand all lines: docs/install.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,15 @@ _Note: You need to install all the dependencies in order to use the extension._
22
22
_(Note: the easiest way to do it might be when you install Python, you can select the "Add to PATH" option directly. Otherwise you can search how to insert it manually, but make sure that when you type `python` in a terminal, the command is recognized.)_
23
23
- Python VS Code extension (downloaded from VS Code Marketplace)
24
24
-**Note:** This extension is installed automatically from the marketplace when you install our extension
Copy file name to clipboardExpand all lines: locales/en/out/constants.i18n.json
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
"dialogResponses.exampleCode": "Example Code on GitHub",
7
7
"dialogResponses.help": "I need help",
8
8
"dialogResponses.installPython": "Install from python.org",
9
+
"dialogResponses.installNow": "Install Now",
10
+
"dialogResponses.dontInstall": "Don't Install",
9
11
"dialogResponses.tutorials": "Tutorials on Adafruit",
10
12
"error.debuggerServerInitFailed": "Warning : The Debugger Server cannot be opened. Please try to free the port {0} if it's already in use or select another one in your Settings 'Pacifica: Debugger Server Port' and start another debug session.\n You can still debug your code but you won't be able to use the Simulator.",
11
13
"error.debuggingSessionInProgress": "[ERROR] A debugging session is currently in progress, please stop it before running your code. \n",
"info.extensionActivated": "Congratulations, your extension Adafruit_Simulator is now active!",
26
28
"info.firstTimeWebview": "To reopen the simulator click on the \"Open Simulator\" button on the upper right corner of the text editor, or select the command \"Open Simulator\" from command palette.",
29
+
"info.installPythonDependencies": "Do you want us to try and install this extensions dependencies for you?",
27
30
"error.invalidFileExtensionDebug": "The file you tried to run isn\\'t a Python file.",
28
31
"info.newFile": "New to Python or the Circuit Playground Express? We are here to help!",
"info.thirdPartyWebsite": "By clicking \"Agree and Proceed\" you will be redirected to adafruit.com, a third party website not managed by Microsoft. Please note that your activity on adafruit.com is subject to Adafruit's privacy policy",
33
37
"info.welcomeOutputTab": "Welcome to the Adafruit Simulator output tab !\n\n",
34
38
"label.webviewPanel": "Adafruit CPX",
35
39
"name": "Pacifica Simulator",
36
40
"warning.agreeAndRun": "By selecting ‘Agree and Run’, you understand the extension executes Python code on your local computer, which may be a potential security risk."
"Are you sure you don't want to install the dependencies? The extension can't run without installing it"
100
+
),
92
101
CLOSED_SERIAL_PORT: (port: string)=>{
93
102
returnlocalize(
94
103
"info.closedSerialPort",
@@ -130,6 +139,10 @@ export const CONSTANTS = {
130
139
"info.incorrectFileNameForSimulatorPopup",
131
140
'We want your code to work on your actual board as well. Make sure you name your file "code.py" or "main.py" to be able to run your code on an actual physical device'
132
141
),
142
+
INSTALL_PYTHON_DEPENDENCIES: localize(
143
+
"info.installPythonDependencies",
144
+
"Do you want us to try and install this extensions dependencies for you?"
145
+
),
133
146
INVALID_FILE_NAME_DEBUG: localize(
134
147
"info.invalidFileNameDebug",
135
148
'The file you tried to debug isn\'t named "code.py" or "main.py". Rename your file if you want your code to work on your actual device.'
@@ -156,6 +169,7 @@ export const CONSTANTS = {
156
169
),
157
170
REDIRECT: localize("info.redirect","You are being redirected."),
158
171
RUNNING_CODE: localize("info.runningCode","Running user code"),
'By clicking "Agree and Proceed" you will be redirected to adafruit.com, a third party website not managed by Microsoft. Please note that your activity on adafruit.com is subject to Adafruit\'s privacy policy'
0 commit comments