(Optional) Using VS Code with Jupyter

You can use VS Code with Jupyter Notebooks.

You can work on Jupyter Notebooks within VS Code. This gives you all the great code completion, syntax highlighting and documentation hints that are part of the VS Code experience and the interactivity of a Jupyter Notebook. Any changes you make to the Notebook will be reflected on the CDSW / CML server and can be viewed online using Jupyter Notebook as a browser based editor.
  1. After you install the Jupyter Notebooks, you can use it inside VS Code.
  2. Another feature that you can use with VS Code is running a temporary Notebook for executing random code snippets. Select code you want to run, right click and click Run Current File in Python Interactive Window.
    This is less robust though and will create many Untitled*.ipynb files in your home directory.