Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Opening a ipynb file in vscode #52

Open
nscsekhar opened this issue Jun 3, 2017 · 10 comments
Open

Opening a ipynb file in vscode #52

nscsekhar opened this issue Jun 3, 2017 · 10 comments

Comments

@nscsekhar
Copy link

Environment data

VS Code version:1.11.1
Jupyter Extension version:4.2.1
OS and version:OSX Sierra

Logs

Output from Jupyter output panel
None

Output from Console window (Help->Developer Tools menu)
None

Actual behavior

When I try to open a ipynb file, it opens as a raw json like data.

Expected behavior

I would like to see it as cells and text.

I feel the web interface for ipynb is not great for step wise edit and debugging. I think vscode jupyter is really great extension but it works only on cells (atleast the examples I have seen). Is there a way to open existing ipynb files in vscode in a way to run and debug?

Thanks..

Steps to reproduce:

Open any ipynb file using vscode after installing the jupyter extension.

@DonJayamanne
Copy link
Owner

Ipynb files are not supported by this extension. There are no immediate plans to support this either.

@yzhang-gh
Copy link
Contributor

Could this be reopened as a feature request? It is a really great feature.

@eromoe
Copy link

eromoe commented Oct 11, 2017

Yeah, with .ipynb support, you can share your notebook with others more easily.
At least, please support convertion bettween .ipynb and .py .

@sajaysurya
Copy link

A 2-way conversion between .ipynb and .py (suitable for this extension) would be very useful. Please implement this enhancement, if possible.

@jarandaf
Copy link

jarandaf commented Nov 20, 2017

It should be relatively easy to accomplish using nbconvert and nbformat.

@tigerhawkvok
Copy link

I was just looking for this and ran across this issue, so let me chime in with support.

@jarandaf , maybe submit a PR? I'm new to notebooks so I'd be digging in the dark.

@harrypotter0
Copy link

@tigerhawkvok Any update on this issue ?

@kabukunz
Copy link

kabukunz commented Jul 2, 2018

Yes please! It'd be very handy!

@mwouts
Copy link

mwouts commented Sep 6, 2018

I plan to work on a script exporter/importer for Jupyter notebooks, compatible with the Jupyter extension for VS code, at mwouts/jupytext#59. Please review the specifications there if you are interested. Thanks.

@mwouts
Copy link

mwouts commented Sep 22, 2018

Hello everyone. I just published a new RC for Jupytext. Jupytext can now convert double percent scripts to Jupyter notebooks, and back. Would you like to test and provide feedback?

Install the rc with

pip install jupytext==0.7.0rc0

Corresponding documentation (how to use the command line interface, or how to setup Jupyter to read or save notebooks to double percent files) is the v0.7.0 branch.

Feedback is welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants