Skip to content

Commit 03519e3

Browse files
authored
Replace GIFs with SVGs and tweak instructions (#17246)
* Replace select interpreter GIFs with svgs * replace learn more and run and debug images with svgs * Remove unused resources * Add toSide for open and create new file commands * Make walkthrough available to everyone * Remove when clause from Python walkthrough
1 parent 1b2d498 commit 03519e3

15 files changed

+257
-71
lines changed

β€Žpackage.json

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@
9999
"id": "pythonWelcome",
100100
"title": "Get started with Python development",
101101
"description": "Your first steps to set up a Python project with all the powerful tools and features that the Python extension has to offer!",
102-
"when": "false",
103102
"steps": [
104103
{
105104
"id": "python.installPythonWin",
@@ -135,41 +134,29 @@
135134
"title": "Select a Python Interpreter",
136135
"description": "Choose which Python interpreter/environment you want to use for your Python project.\n[Select Python Interpreter](command:python.setInterpreter)\nTip: Reload the window if you installed Python but don't see it in the list (``Developer: Reload Window`` command in the [Command Palette](command:workbench.action.showCommands))",
137136
"media": {
138-
"altText": "selecting a python interpreter from the status bar",
139-
"image": {
140-
"dark": "resources/walkthrough/change-python-interpreter-dark.gif",
141-
"light": "resources/walkthrough/change-python-interpreter-light.gif",
142-
"hc": "resources/walkthrough/change-python-interpreter-hc.gif"
143-
}
137+
"svg": "resources/walkthrough/python-interpreter.svg",
138+
"altText": "Selecting a python interpreter from the status bar"
144139
},
145140
"when": ""
146141
},
147142
{
148143
"id": "python.runAndDebug",
149144
"title": "Run and debug your Python file",
150-
"description": "Open your Python file, press F5 and select 'Python File' to start running and debugging. \n[Learn more](https://code.visualstudio.com/docs/python/python-tutorial#_run-hello-world)",
151-
"media": {
152-
"markdown": "resources/walkthrough/run-and-debug-python-file.md"
153-
},
154-
"when": "workspacePlatform != mac"
155-
},
156-
{
157-
"id": "python.runAndDebugMacOS",
158-
"title": "Run and debug your Python file",
159-
"description": "Open your Python file, press F5 and select 'Python File' to start running and debugging. \n[Learn more](https://code.visualstudio.com/docs/python/python-tutorial#_run-hello-world)",
145+
"description": "[Open](command:toSide:workbench.action.files.openFile) or [create](command:toSide:welcome.showNewFileEntries) a Python file - make sure to save it as \".py\". \n 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)",
160146
"media": {
161-
"markdown": "resources/walkthrough/run-and-debug-python-file-macOS.md"
147+
"svg": "resources/walkthrough/rundebug2.svg",
148+
"altText": "How to run and debug in VS Code with F5 or the play button on the top right."
162149
},
163-
"when": "workspacePlatform == mac"
150+
"when": ""
164151
},
165152
{
166153
"id": "python.learnMore",
167154
"title": "Explore more resources",
168-
"description": "Take a look into our [documentation](https://aka.ms/AA8dxwy) to learn more about support for Python in VS Code. \n[Learn more](https://aka.ms/AA8dxwy)",
155+
"description": "🎨 Explore all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ’Œ [Sign up](https://aka.ms/python-vscode-mailinglist) for tips and tutorials through our mailing list. \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)",
169156
"media": {
170-
"markdown": "resources/walkthrough/python-dev-learn-more.md"
171-
},
172-
"when": ""
157+
"altText": "Image representing our documentation page and mailing list resources.",
158+
"svg": "resources/walkthrough/learnmore.svg"
159+
}
173160
}
174161
]
175162
},
@@ -277,9 +264,10 @@
277264
{
278265
"id": "python.dataScienceLearnMore",
279266
"title": "Find out more!",
280-
"description": "Take a look into our [documentation](https://aka.ms/AAdar6q) to learn more about Python for Data Science in VS Code. \n[Learn more](https://aka.ms/AAdar6q)",
267+
"description": "🎨 Explore all the features the Python extension has to offer by looking for \"Python\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“’ Take a look into the [Jupyter extension](command:workbench.extensions.search?\"ms-toolsai.jupyter\") features, by looking for \"Jupyter\" in the [Command Palette](command:workbench.action.showCommands). \n πŸ“ƒ Find out more features in our [Tutorials](https://aka.ms/AAdjzpd). \n[Learn more](https://aka.ms/AAdar6q)",
281268
"media": {
282-
"markdown": "resources/walkthrough/python-datascience-learn-more.md"
269+
"svg": "resources/walkthrough/learnmore.svg",
270+
"altText": "Image representing our documentation page and mailing list resources."
283271
}
284272
}
285273
]
-165 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

β€Žresources/walkthrough/learn-more.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
Β (0)