Editing text: VS Code

# Matplotlib compatibility patch for Pyodide
import matplotlib
if not hasattr(matplotlib.RcParams, "_get"):
    matplotlib.RcParams._get = dict.get

Editing text: VS Code#

VS Code is a text editor with some extra features, such as integrated source control and a file browser. Moreover, extensions are available to add functionality to VS Code.

Installation#

VS Code can be downloaded from here. The installation is fairly simple and won’t be covered here.

Extensions#

When working with TeachBooks (or Jupyter Notebooks in general), these extensions are highly recommended:

  • User type 4-5:

  • User type 5

    • YAML - enables validation of .yml files (the format of the Jupyter Book configuration files).

    • Python - for obvious reasons. Also includes Jupyter Notebook rendering.

    • GitHub Copilot - Your AI pair progammer

    • Jupyter Cell Tags - Jupyter Cell Tags support