Skip to content

Mitosheet - VS Code Extension #2204

Open
ngafar wants to merge 6 commits intodevfrom
feat/mitosheet-vs-code-extension
Open

Mitosheet - VS Code Extension #2204
ngafar wants to merge 6 commits intodevfrom
feat/mitosheet-vs-code-extension

Conversation

@ngafar
Copy link
Collaborator

@ngafar ngafar commented Mar 9, 2026

Description

VS Code extension for Mitosheet. Used to write code gen to cells.

Testing

To build and install the extension:

  1. Install the packaging tool:
npm install -g @vscode/vsce
  1. Package your extension:
vsce package
  1. Using the command pallet, select Install from VSIX, and select the file created in step 2.

You should now see the Mitosheet for VSCode extension installed.

Documentation

Yes, but not for now.


Note

Medium Risk
Adds new extension-host logic that polls local HTTP and programmatically edits notebooks, so bugs could cause noisy polling or unintended cell edits; scope is isolated to the new mitosheet-vscode package.

Overview
Adds a new mitosheet-vscode VS Code extension package that registers a notebook renderer and messaging bridge to the extension host.

When the renderer sees a Mitosheet output item, it posts the session metadata (port + session id) to the extension host, which then polls a local http://localhost:<port>/code endpoint and inserts/replaces a generated Python code cell immediately below the matching output cell (tracked via mito_session_id metadata).

Introduces an esbuild-based build/watch pipeline, TypeScript config, and commits the bundled out/extension.js and out/renderer.js artifacts plus a new package-lock.json.

Written by Cursor Bugbot for commit c86d182. Configure here.

@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
monorepo Ready Ready Preview, Comment Mar 9, 2026 10:51pm

Request Review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant