-
Notifications
You must be signed in to change notification settings - Fork 338
Closed
Labels
Milestone
Description
Refs: #9996
- web @weinand
- web @joyceerhl
Complexity: 3
Requirements
- Install prerelease jupyter extension into http://insiders.vscode.dev
- Have a python environment that you can run jupyter from. (https://jupyter.org/install)
- Be familiar with jupyter notebooks
Set up
- Go to a command prompt where you've installed jupyter into a python environment
- Switch to a folder you're using for testing
- Run jupyter with the following command
jupyter notebook --no-browser --NotebookApp.allow_origin=*
Test Steps
- Open insiders.vscode.dev and create a new ipynb file
- Open the file (which should open it in notebook editor)
- Create a few cells
- Connet to the jupyter server:
- Run the 'Jupyter: Specify jupyter server for connections' command, or use the link from the IW's info message
- Pick 'Existing'
- Paste the URL from the jupyter notebook server you started in step 3 of the setup
- Run a few cells from the notebook file
- Open command palette and then search for commands:
Jupyter: Export to HTML
,Jupyter: Export to Python
andJupyter: Export to PDF
Please test you can run those commands and have files saved into the workspace after the file successfully run. Note that exporting to PDF requires latex packages installed on your machine, it's fine it doesn't work but expect the error messages are intuitive.