Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view .ipynb as regular text intsead of an ipython notebook in vscode

Tags:

VS code recently added the ability to work with jupyter notebooks (.ipynb files), this is to say it renders them as notebooks and not the underlying text.

The problem I'm running into is I want to make some edits on the raw text rather than the "notebook" but I can't figure out how to show it as a text file the way any other editor would.

Is there a way to toggle between the views?

like image 245
user1816847 Avatar asked Apr 07 '20 23:04

user1816847


People also ask

How do you save VS Code in Ipynb?

You can save your Jupyter Notebook using the keyboard shortcut Ctrl+S or File > Save.

Does VS Code support Jupyter Notebook?

Jupyter (formerly IPython Notebook) is an open-source project that lets you easily combine Markdown text and executable Python source code on one canvas called a notebook. Visual Studio Code supports working with Jupyter Notebooks natively, as well as through Python code files.


1 Answers

Open: File > Preferences > Settings

Search ipynb and deselect the following:

enter image description here

like image 171
saccodd Avatar answered Sep 17 '22 17:09

saccodd