Switch branches/tags
Nothing to show
Find file Copy path
60eba95 Sep 28, 2018
2 contributors

Users who have contributed to this file

@qfyin @ChrisDavison
23 lines (13 sloc) 978 Bytes

Open Jupyter notebooks in VS Code

In this tutorial, we will open a Jupyter notebook in VS Code window.


Before you begin, ensure you have set Python path properly in VS Code and have already installed Jupyter in this Python path with pip.

Open a project

  • Launch Visual Studio Code and select File > Open Folder (Ctrl+K Ctrl+O)
  • Select a folder which contains the Jupyter notebook file (.pynb) you want to open.

Select command in context menu

Right click the Jupyter notebook file node and select "AI: View in Jupyter Server" command.

Jupyter in context menu

View and edit in VS Code editor

After clicking the command, a Jupyter server will start and show in editor window. You could view, edit and save your changes back to the file.

Jupyter view in editor