Export Jupyter notebooks to percent script format (Python & R)#14152
Export Jupyter notebooks to percent script format (Python & R)#14152seeM wants to merge 1 commit into
Conversation
|
E2E Tests 🚀 |
PETE's assessment 🧪Verdict: 🟢 Adequate -- The PR ships both extension-host tests for the command/registration flow and unit-style tests for the percent-script conversion, covering the new behavior at the cheapest viable levels. What changed
Tests in this PR
Existing coverageThe two new test files are the primary coverage and exercise the changed behavior directly: Suggested additionsNone required. Minor optional gap: Deployment note (optional)The PR body tags PETE (Positron Extreme Test Experiment) - LLM-based test-coverage advisor, in pilot. Triggers on PR open and on |
|
The failing unit tests seem to be an issue on |
This PR sets up a "notebook exporter" for Quarto when inside Positron, which reuses the same implementation as the `quarto.convertToQmd` command (i.e. the `quarto convert` CLI). The `quarto.convertToQmd` command is also hidden when the exporter is registered (i.e. in Positron). Until posit-dev/positron#14152 is merged, you'll have to test against that branch. Should have no effect in VS Code. Demo: https://github.com/user-attachments/assets/8af2714b-1fe7-4ccc-9791-321d3d967367 I also added the outline of a test, but can't yet run it until we're able to test against Positron. Related to posit-dev/positron#9791.
Toward #9791.
This PR adds functionality to export Jupyter notebooks to other file formats. It's designed so that third party extensions can contribute their own notebook exporters. I packaged this in a new extension (rather than the
positron-notebooks-helperextension) since it has a public-facing API.Here is the corresponding PR setting up an exporter in the Quarto extension: quarto-dev/quarto#999.
Demo:
Screen.Recording.2026-06-10.at.17.29.06.mov
Release Notes
New Features
Bug Fixes
Validation Steps
@positron-notebooks @:web