Add Jupyter Notebook extension
Summary
Adds support for Jupyter Notebook (.ipynb) files to Zed editor.
Features
- Syntax highlighting for .ipynb files
- Basic editing capabilities for Jupyter notebooks
- MIT licensed
Extension Details
- Extension ID:
jupyter - Version: 0.1.0
- Repository: https://github.com/KuaaMU/jupyter-zed
Testing
The extension has been tested locally and provides proper syntax highlighting for Jupyter notebook files.
We require contributors to sign our Contributor License Agreement, and we don't have @KuaaMU on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Am I correct that this just highlights the .ipynb files as JSON?
If so, I'm not sure how useful this is as an extension (does anyone working with Jupyter Notebooks actually edit them in their JSON representation?).
Exactly—Zed does not yet expose a Notebook API comparable to VS Code’s, so this extension is limited to treating .ipynb as “JSON with Jupyter-aware syntax.” Cell rendering, kernel execution, and markdown preview are impossible until the upstream issue zed#17325 is resolved.
Thank you for taking the time to put it together, but I don't think it makes sense to have this extension in its current state, as it doesn't really seem to provide anything that users would expect from Jupyter notebooks.