Skip to content

Commit 225fce3

Browse files
Updates to walkthrough (#23107)
- Updating walkthrough based on previous experiment - Updating based on #22664 Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com>
1 parent d599bcd commit 225fce3

2 files changed

Lines changed: 39 additions & 29 deletions

File tree

β€Žpackage.jsonβ€Ž

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,6 @@
171171
"description": "%walkthrough.pythonWelcome.description%",
172172
"when": "false",
173173
"steps": [
174-
{
175-
"id": "python.createPythonFolder",
176-
"title": "%walkthrough.step.python.createPythonFolder.title%",
177-
"description": "%walkthrough.step.python.createPythonFolder.description%",
178-
"media": {
179-
"svg": "resources/walkthrough/open-folder.svg",
180-
"altText": "%walkthrough.step.python.createPythonFile.altText%"
181-
},
182-
"when": "workspaceFolderCount = 0"
183-
},
184174
{
185175
"id": "python.createPythonFile",
186176
"title": "%walkthrough.step.python.createPythonFile.title%",
@@ -225,14 +215,15 @@
225215
"title": "%walkthrough.step.python.createEnvironment.title2%",
226216
"description": "%walkthrough.step.python.createEnvironment.description2%",
227217
"media": {
228-
"markdown": "resources/walkthrough/environments-info.md"
218+
"svg": "resources/walkthrough/create-environment.svg",
219+
"altText": "%walkthrough.step.python.createEnvironment.altText%"
229220
},
230221
"when": ""
231222
},
232223
{
233-
"id": "python.runAndDebug",
234-
"title": "%walkthrough.step.python.runAndDebug.title%",
235-
"description": "%walkthrough.step.python.runAndDebug.description%",
224+
"id": "python.runAndDebug2",
225+
"title": "%walkthrough.step.python.runAndDebug2.title%",
226+
"description": "%walkthrough.step.python.runAndDebug2.description%",
236227
"media": {
237228
"svg": "resources/walkthrough/rundebug2.svg",
238229
"altText": "%walkthrough.step.python.runAndDebug.altText%"
@@ -241,7 +232,7 @@
241232
},
242233
{
243234
"id": "python.learnMoreWithDS2",
244-
"title": "%walkthrough.step.python.learnMoreWithDS.title%",
235+
"title": "%walkthrough.step.python.learnMoreWithDS2.title%",
245236
"description": "%walkthrough.step.python.learnMoreWithDS.description2%",
246237
"media": {
247238
"altText": "%walkthrough.step.python.learnMoreWithDS.altText%",
@@ -1652,4 +1643,4 @@
16521643
"worker-loader": "^3.0.8",
16531644
"yargs": "^15.3.1"
16541645
}
1655-
}
1646+
}

β€Žpackage.nls.jsonβ€Ž

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
},
9494
"walkthrough.step.python.createPythonFolder.description": {
9595
"message": "[Open](command:workbench.action.files.openFolder) or create a project folder.\n[Open Project Folder](command:workbench.action.files.openFolder)",
96-
"comment": [
96+
"comment": [
9797
"{Locked='](command:workbench.action.files.openFolder'}",
9898
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
9999
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
@@ -124,36 +124,55 @@
124124
"message": "Choose which Python interpreter/environment you want to use for your Python project.\n[Select Python Interpreter](command:python.setInterpreter)\n**Tip**: Run the ``Python: Select Interpreter`` command in the [Command Palette](command:workbench.action.showCommands).",
125125
"comment": [
126126
"{Locked='](command:python.setInterpreter'}",
127-
"{Locked='](command:workbench.action.showCommands'}",
128-
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
129-
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
127+
"{Locked='](command:workbench.action.showCommands'}",
128+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
129+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
130130
]
131131
},
132-
"walkthrough.step.python.createEnvironment.title": "Create a Python Environment ",
133-
"walkthrough.step.python.createEnvironment.title2": "Create or select a Python Environment ",
132+
"walkthrough.step.python.createEnvironment.title": "Create a Python Environment",
133+
"walkthrough.step.python.createEnvironment.title2": "Select a Python environment",
134134
"walkthrough.step.python.createEnvironment.description": {
135135
"message": "Create an environment for your Python project.\n[Create Environment](command:python.createEnvironment)\n**Tip**: Run the ``Python: Create Environment`` command in the [Command Palette](command:workbench.action.showCommands).\n πŸ” Check out our [docs](https://aka.ms/pythonenvs) to learn more.",
136-
"comment": [
136+
"comment": [
137137
"{Locked='](command:python.createEnvironment'}",
138138
"{Locked='](command:workbench.action.showCommands'}",
139139
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
140140
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
141141
]
142142
},
143-
"walkthrough.step.python.createEnvironment.description2": "Create an environment for your Python project or use [Select Python Interpreter](command:python.setInterpreter) to select an existing one.\n[Create Environment](command:python.createEnvironment)\n**Tip**: Run the ``Python: Create Environment`` command in the [Command Palette](command:workbench.action.showCommands).",
143+
"walkthrough.step.python.createEnvironment.description2": {
144+
"message": "[Select a Python interpreter](command:python.setInterpreter) or [create an environment](command:python.createEnvironment) for your Python project.\n[Select Interpreter](command:python.setInterpreter)",
145+
"comment": [
146+
"{Locked='](command:python.createEnvironment'}",
147+
"{Locked='](command:python.setInterpreter'}",
148+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
149+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
150+
]
151+
},
144152
"walkthrough.step.python.runAndDebug.title": "Run and debug your Python file",
145-
"walkthrough.step.python.runAndDebug.description": "Open your Python file and click on the play button on the top right of the editor, or press F5 when on the file and select \"Python File\" to run with the debugger. \n \n[Learn more](https://code.visualstudio.com/docs/python/python-tutorial#_run-hello-world)",
153+
"walkthrough.step.python.runAndDebug2.title": "Run and debug",
154+
"walkthrough.step.python.runAndDebug2.description": "Click the play button on the top right of the editor, or press F5 when on the file and select \"Python File\" to run with the debugger.",
155+
"walkthrough.step.python.runAndDebug.description": "Open your Python file and click on the play button on the top right of the editor, or press F5 when on the file and select \"Python File\" to run with the debugger. \n \n[Learn more](https://code.visualstudio.com/docs/python/python-tutorial#_run-hello-world)",
146156
"walkthrough.step.python.learnMoreWithDS.title": "Explore more resources",
157+
"walkthrough.step.python.learnMoreWithDS2.title": "Keep exploring!",
147158
"walkthrough.step.python.learnMoreWithDS.description": {
148-
"message":"🎨 Explore all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“ˆ Learn more about getting started with [data science](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D) in Python. \n ✨ Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. \n \n[Learn More](https://aka.ms/AA8dqti)",
149-
"comment":[
159+
"message": "🎨 Find all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“ˆ Learn more about getting started with [data science](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D) in Python. \n ✨ Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. \n \n[Learn More](https://aka.ms/AA8dqti)",
160+
"comment": [
161+
"{Locked='](command:workbench.action.showCommands'}",
162+
"{Locked='](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D'}",
163+
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
164+
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
165+
]
166+
},
167+
"walkthrough.step.python.learnMoreWithDS.description2": {
168+
"message": "🎨 Explore all the features the Python extension has to offer by searching for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“ˆ Learn more about getting started with [data science](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D) in Python. \n ✨ Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. \n \n[Follow along with the Python Quick Start](https://code.visualstudio.com/docs/python/python-quick-start)",
169+
"comment": [
150170
"{Locked='](command:workbench.action.showCommands'}",
151171
"{Locked='](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D'}",
152172
"Do not translate the 'command:*' part inside of the '(..)'. It is an internal command syntax for VS Code",
153173
"Please make sure there is no space between the right bracket and left parenthesis: ]( this is an internal syntax for links"
154174
]
155175
},
156-
"walkthrough.step.python.learnMoreWithDS.description2": "🎨 Explore all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“ˆ Learn more about getting started with [data science](command:workbench.action.openWalkthrough?%7B%22category%22%3A%22ms-python.python%23pythonDataScienceWelcome%22%2C%22step%22%3A%22ms-python.python%23python.createNewNotebook%22%7D) in Python. \n ✨ Take a look at our [Release Notes](https://aka.ms/AA8dxtb) to learn more about the latest features. \n \n[Follow along with the Python Tutorial](https://aka.ms/AA8dqti)",
157176
"walkthrough.pythonDataScienceWelcome.title": "Get Started with Python for Data Science",
158177
"walkthrough.pythonDataScienceWelcome.description": "Your first steps to getting started with a Data Science project with Python!",
159178
"walkthrough.step.python.installJupyterExt.title": "Install Jupyter extension",
@@ -173,4 +192,4 @@
173192
"walkthrough.step.python.createNewNotebook.altText": "Creating a new Jupyter notebook",
174193
"walkthrough.step.python.openInteractiveWindow.altText": "Opening Python interactive window",
175194
"walkthrough.step.python.dataScienceLearnMore.altText": "Image representing our documentation page and mailing list resources."
176-
}
195+
}

0 commit comments

Comments
Β (0)