Skip to content

feat(vscode): support Jupyter notebook context#11532

Open
markijbema wants to merge 3 commits into
mainfrom
mark/jupyter-notebook-support
Open

feat(vscode): support Jupyter notebook context#11532
markijbema wants to merge 3 commits into
mainfrom
mark/jupyter-notebook-support

Conversation

@markijbema

@markijbema markijbema commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Add Jupyter notebook awareness to the VS Code extension so Python code cells receive whole-notebook classic autocomplete context, while notebook files appear correctly in active, visible, and open editor context.

The notebook-cell assembly logic is imported from Continue in a provenance-only commit, then integrated separately with Apache-2.0 attribution and redistribution material. Markdown and non-Python cells are left unchanged rather than routing them through Python heuristics, and Next Edit remains file-only because applying notebook-wide edits back to individual cells requires a separate mapping design.

Built for Mark IJbema by Kilo for Slack

markijbema and others added 2 commits June 22, 2026 11:05
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@markijbema markijbema self-assigned this Jun 22, 2026
@kilo-code-bot

kilo-code-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (4 files)
  • .changeset/bright-notebooks-complete.md
  • packages/kilo-vscode/src/services/autocomplete/classic-auto-complete/AutocompleteInlineCompletionProvider.ts
  • packages/kilo-vscode/src/services/autocomplete/continuedev/core/autocomplete/notebook.ts
  • packages/kilo-vscode/tests/unit/notebook-context.test.ts
Previous Review Summary (commit f004b49)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit f004b49)

Status: 1 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0

Fix these issues in Kilo Cloud

Issue Details (click to expand)

WARNING

File Line Issue
packages/kilo-vscode/src/services/autocomplete/classic-auto-complete/AutocompleteInlineCompletionProvider.ts 226 All notebook cells are routed through the .ipynb/Python prompt heuristics, so markdown cells and non-Python notebooks lose their actual language handling.
Files Reviewed (10 files)
  • .changeset/bright-notebooks-complete.md - 0 issues
  • packages/kilo-vscode/THIRD_PARTY_LICENSES/continue.txt - 0 issues
  • packages/kilo-vscode/src/KiloProvider.ts - 0 issues
  • packages/kilo-vscode/src/services/autocomplete/AutocompleteServiceManager.ts - 0 issues
  • packages/kilo-vscode/src/services/autocomplete/__tests__/AutocompleteServiceManager.spec.ts - 0 issues
  • packages/kilo-vscode/src/services/autocomplete/classic-auto-complete/AutocompleteInlineCompletionProvider.ts - 1 issue
  • packages/kilo-vscode/src/services/autocomplete/continuedev/core/autocomplete/notebook.ts - 0 issues
  • packages/kilo-vscode/tests/setup/vscode-mock.ts - 0 issues
  • packages/kilo-vscode/tests/unit/autocomplete-selector.test.ts - 0 issues
  • packages/kilo-vscode/tests/unit/notebook-context.test.ts - 0 issues

Reviewed by gpt-5.4-20260305 · Input: 42.3K · Output: 4.6K · Cached: 113.7K

Review guidance: REVIEW.md from base branch main

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