Visual Studio Code (Mac)

Visual Studio Code (short VS Code) is a free and open-source text editor with very good support for Python programming.

1. Download VS Code installer

Download for Mac the Stable Build.

2. Launch the installer

Find the installer in your Downloads folder and double-click it to open the installer.

It is fine to just Open it.

3. Open VS Code

The open the app VS Code should look like this.

4. Install VS Code Extensions

We recommend installing the following VS Code extensions:

To install the above extensions, open the Extensions view by clicking on the Extensions icon in the Activity Bar on the left side of the editor and search the extension name in the search box. Once found, select it and click Install.

5. Create a new file in VS Code

Note that when you create a new file, the default file format is .txt. So, if you want to write Python code, you need to save the file as .py before you continue.

6. Run a script

To run your first script, 1st write your first line of code print("hello csd2 class"), 2nd run your file by clicking the green arrow, 3rd check out your printed results.

Last updated