Open & Edit a .py File as a Notebook (Similar to Databricks Notebooks) #11281
RLashofRegas
started this conversation in
New Ideas
Replies: 1 comment 3 replies
-
please upvote this issue that's where we track this feature request |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m surprised I haven’t seen a discussion or issue on this, but please point me to it if there is one.
I am aware of the following existing “integrations” between python files and Jupyter notebooks in VS Code (please correct me if I’m wrong or missing one):
(3) is nice, but it has the following limitations in my opinion:
If you’ve ever used Databricks notebooks they kind of give you the best of both worlds - the editor shows up as a jupyter-like notebook interface, but all of your edits/saves are actually reflected as a .py file making it much easier for source control and when developing production code. In my opinion, this seamless experience is really the holy grail - an option when you right-click a .py file to “Open as Notebook”. Instead of creating a jupyter notebook (at least not that you see), it simply displays the Python file as a notebook interface and automatically inserts the magics for cell separations and such as you work with the Jupyter interface. You get the editing/experimenting features of Jupyter, but at the end of the day you are left with a simple python file rather than having to convert back and forth.
Has a feature like this been discussed before? Are there any plans to implement this?
Beta Was this translation helpful? Give feedback.
All reactions