Jupyter
An extension with rich support for Jupyter
Quick Start
- Install the extension
- When using Python, install the Python extension as well.
- Install Jupyter
- You're ready to use it.
Tested with Python and JavaScript Kernels (support for others coming soon)
Sample Python usage
- Create a Python file with the following text
#%%
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np
x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show()
- Click on the code lens
Run Cell
Run Cell Hot key as in Chrome
- If you want to run cell with Ctrl+Enter, add those code in keybindings.json.
{ "key": "ctrl+enter", "command": "jupyter.execCurrentCell",
"when": "editorTextFocus"
}
Remote Jupyter kernel on Server / Docker
Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:
- Start a remote Jupyter Notebook or headless KernelGateway
- Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html
Then in VS Code:
- ctrl+shift+p
- Jupyter: Enter the url of local/remote Jupyter Notebook
Documentation
For further information and details continue through to the documentation.
Issues, Feature Requests and Contributions
- Contributions are always welcome. Fork it, modify it and create a pull request.
- Any and all feedback is appreciated and welcome.
Roadmap
Version 1.1.3 (5 May 2017)
- Notebook not detected #46
Version 1.1.2 (24 April 2017)
- Fix high CPU usage #40
Version 1.1.1 (13 April 2017)
- Bug fix (extension fails to load)
- Increase timeout waiting for Jupyter Notebook to start
Version 1.1.0 (12 April 2017)
- Preliminary support for older versions of Jupyter Notebook (< 4.2.0)