Skip to content

Tracking Issue: Interactive Computing with Jupyter #9778

@rgbkrk

Description

@rgbkrk

Check for existing issues

  • Completed

Problem

As evidenced in #5273, Jupyter Notebook users would love to edit notebooks. There's a need for seamless integration that supports the variety of media types in Jupyter notebooks and the interactive runtimes underneath.

Proposed Plan

The fastest path where we'll see progress along the way will be to:

  • Create a kernel/runtime manager for Zed ✅
  • Enable execution in the editor, a la Hydrogen
  • Create a notebook viewer ✅
  • Allow execution in notebooks ✅

In parallel, we can work on new GPUI features to support rendering custom media types that Jupyter users expect.

Steps

Runtime support

To bring Jupyter kernels (aka runtimes aka REPLs) to Rust, the https://github.com/runtimed/runtimed project has been started.

  • Discover python and/or jupyter kernel environments
  • Launch kernels/runtimes
  • Track kernels/runtimes in their own pane

Notebook File support

Rich Media -> GPUI needs

Some of the needs for notebook and/or in-editor execution will require GPUI work. Some will be able to reuse existing components as is (div, img, markdown preview).

These are the likely mediatypes to support:

Kernel Improvements

  • REPL support inside dev containers
  • Recommendation based on worktree/project
  • Easy control and UI/UX for managing current Kernels
  • Union and predictable behavior over all modes of repl ( remote/local )

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions