本文介绍了如何在 vscode 中将 .ipynb 视为 ipython notebook 的常规文本 intsead的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

VS 代码最近添加了使用 jupyter 笔记本(.ipynb 文件)的功能,也就是说它将它们呈现为笔记本而不是底层文本.

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?

推荐答案

打开:文件 > 首选项 > 设置

Open: File > Preferences > Settings

搜索 ipynb 并取消选择以下内容:

Search ipynb and deselect the following:

这篇关于如何在 vscode 中将 .ipynb 视为 ipython notebook 的常规文本 intsead的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 11:13