Skip to content

Commit a626376

Browse files
committed
differences for PR #3
1 parent 2c16387 commit a626376

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

12-running-vscode.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ There are many other features and ways to access them, and we'll cover key ones
5858

5959
Extensions are a major strength of VSCode. Whilst VSCode appears quite lightweight, and presents a simple interface (particularly compared to many other IDEs!), this is quite deceptive.
6060
You can extend its functionality in many different ways.
61-
or example, installing support for other languages, greater support for version control, there's even support for working with databases, and so on.
61+
For example, installing support for other languages, greater support for version control, there's even support for working with databases, and so on.
6262
There are literally tens of thousands of possible extensions now.
6363

6464
Now VSCode already comes with built-in support for JavaScript, including TypeScript and node.js,
@@ -67,24 +67,24 @@ Installing a language extension will allow you to do more things with that parti
6767

6868
Let's install an extension now:
6969

70-
1. Firstly, select the extensions icon first, then type in Python into the search box at the top, and it'll give you a list of all python-related extensions.
70+
1. Firstly, select the extensions icon, then type in "Python" into the search box at the top, and it'll give you a list of all Python-related extensions.
7171
1. Select the one which says `Python` from Microsoft. This is the Microsoft official Python extension.
7272
1. Then select `Install`.
7373

7474
It might take a minute - you can see a sliding blue line in the top left to indicate it's working.
7575
Once complete, you should see a couple of "Welcome" windows introducing you to two of its key features - support for Python and Jupyter notebooks.
7676
If you use Jupyter notebooks, which is a way of writing Python programs that you can run line by line from within an editor as you write the program, you may find this useful.
7777

78-
For now, let's configure this extension for our Python development, and to do that, we need to do is tell VSCode which Python installation on our machine we'd like it to use. In the Python Welcome window, select `Select a Python interpreter`, and then `Select Python interpreter`.
79-
You may find you have many installations of Python, or only have one. Try to select one later than 3.8 if you can.
80-
Then select `Mark done`, and close the welcome windows.
78+
For now, let's configure this extension for our Python development, and to do that, we need to tell VSCode which Python installation on our machine we'd like it to use. In the Python Welcome window, select `Select a Python interpreter`, and then `Select Python interpreter`.
79+
You may find you have many installations of Python, or only have one. Try to select the version later than 3.8 if you can.
80+
Then select `Mark done`, and close the Welcome window.
8181

8282
## A Sample Project
8383

8484
FIXME: copy code-style-example repo to softwaresaved's organisation
8585

8686
Next, let's obtain some example Python and edit it from within VSCode.
87-
So first, you can download the example code we'll use from https://github.com/UNIVERSE-HPC/code-style-example/releases/tag/v1.0.0, either as a `.zip` or `.tar.gz` compressed archive file.
87+
First, download the example code we'll use from https://github.com/UNIVERSE-HPC/code-style-example/releases/tag/v1.0.0, either as a `.zip` or `.tar.gz` compressed archive file.
8888
If you're unsure, download the `.zip` file.
8989
Then, extract all the files from the archive into a convenient location.
9090
You should see files contained within a new directory named `code-style-example-1.0.0`.
@@ -103,9 +103,9 @@ Note that we're looking for the *folder* that contains the files, not a specific
103103

104104
If your system has the Git version control system installed, you may see a `Clone Repository` option here too.
105105
If you are familiar with Git and wish to use this option instead,
106-
select this option instead and enter the repository's location as `https://github.com/UNIVERSE-HPC/code-style-example`.
106+
select it and enter the repository's location as `https://github.com/UNIVERSE-HPC/code-style-example`.
107107
Then use the file browser that is presented to find a convenient location to store the cloned code and click on `Select as Repository Destination`,
108-
then select `Open` when ‘Would you like to open the cloned repository?' appears.
108+
then select `Open` when ‘Would you like to open the cloned repository?' popup appears.
109109

110110
:::::::::::::::::::::::::::::::::::::::::
111111

@@ -126,7 +126,7 @@ So next, let's look at editing code.
126126

127127
::::::::::::::::::::::::::::::::::::: keypoints
128128

129-
- Key VSCode features are accessible via the left navigation bar and the menu.
129+
- Key VSCode features are accessible via the left navigation bar and the menu
130130
- VSCode's capabilities can be increased by installing extensions
131131
- Language-specific support is available via extensions
132132
- A VSCode "workspace" is a project that consists of a collection of folder and files

13-code-editor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ But in essence, the code is designed to do the following:
4141
1. Open a file in the CSV (comma separated value) format
4242
1. Go through the file line by line, and:
4343
- If the line begins with a `#` symbol, ignore it.
44-
- Otherwise, extract the fourth column (which is in Fahrenheit), convert it to Celsius and Kelvin, and output those readings.
44+
- Otherwise, extract the fourth column (which contains temperature in Fahrenheit), convert it to Celsius and Kelvin, and output those readings.
4545

4646
Let's take a look at some of what the code editor gives us.
4747

fig/.gitkeep

-1
This file was deleted.

md5sum.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"links.md" "3191a9ad7a8ab470710936b6f372a0b5" "site/built/links.md" "2025-04-17"
77
"episodes/10-introduction.md" "d4f56612792b2a6e597b090b963b8671" "site/built/10-introduction.md" "2025-05-01"
88
"episodes/11-setup.md" "f58103cf58d052e2519abda5624f76d6" "site/built/11-setup.md" "2025-04-30"
9-
"episodes/12-running-vscode.md" "76540d245e3ae8ad97b05bf239ec9676" "site/built/12-running-vscode.md" "2025-05-08"
10-
"episodes/13-code-editor.md" "88fa96ec8f4ead06f55c62018764c9ba" "site/built/13-code-editor.md" "2025-05-09"
9+
"episodes/12-running-vscode.md" "77f1013e07165584de1a3fdb7f1b7d33" "site/built/12-running-vscode.md" "2025-05-09"
10+
"episodes/13-code-editor.md" "34760d539f13c0e30cb86a4fb1679462" "site/built/13-code-editor.md" "2025-05-09"
1111
"episodes/14-running-debugging.md" "f371f042deec6d37bdebb143ab851488" "site/built/14-running-debugging.md" "2025-05-09"
1212
"episodes/20-introduction.md" "ab522284cfcceb13671dfb1ca5670c97" "site/built/20-introduction.md" "2025-05-01"
1313
"episodes/21-setup.md" "eb31e0147eb4306d480fff570786023f" "site/built/21-setup.md" "2025-04-30"

0 commit comments

Comments
 (0)