Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absorb jupytext .py notebooks feature as officially developed & distributed #195

Open
goyalyashpal opened this issue May 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@goyalyashpal
Copy link

goyalyashpal commented May 13, 2023

Titles/Summaries:

  • Absorb jupytext as officially developed & distributed
  • Merge jupytext and make it official & hence also included by default

Problem

Described in jupyterlab/jupyterlab#14386

Proposed Solution

Merge the jupytext (MIT licenced) 's ability to load plain source files (like .py) as notebooks within existing notebook used by jupyterlab so that it's functionality comes built in with jupyterlab.

The scope of jupytext thereafter can stay focused on the syncing ability between source and notebook files.

Additional context

Jupytext provides ability to open .py source files as notebooks.

Ever since @ krassowski shared it with me at jupyterlab/jupyterlab#14386 (comment) , I am:

  • doing development in jupytext notebooks, and
  • doing any refactorings (like changing variable name, moving lines up/down etc) in VSCodium
  • and honestly, it is awesome.

The only thing stopping this is lack of ability to auto reload files from disk
(the collaborative mode of jupyterlab v4.0.0rc1 doesn't support jupytext notebooks).

Due to this (and lack of a direct keyboard shortcut), I often forget manually reloading the jupytext notebook, and end up losing the changes.

I know that this auto-reload is just one small feature, and will come eventually for jupytext too; but absorbing jupytext as official will ensure such things don't happen sort of loose hangingly in future.

I use TeXStudio (called TXS in short) in a similar way with VSCodium; and TXS shows this dialog when it detects changes in file on disk.

@goyalyashpal goyalyashpal added the enhancement New feature or request label May 13, 2023
@goyalyashpal goyalyashpal changed the title Merge jupytext and make it official & hence also included by default Absorb jupytext as officially developed & distributed May 13, 2023
@goyalyashpal goyalyashpal changed the title Absorb jupytext as officially developed & distributed Absorb jupytext .py notebooks feature as officially developed & distributed May 13, 2023
@JasonWeill JasonWeill transferred this issue from jupyterlab/jupyterlab May 16, 2023
@welcome
Copy link

welcome bot commented May 16, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant