Notebook: "Run Cells In Section" (notebook.section.runCells) does nothing when invoked via keybinding
@amunger is already working on this.
Since Jun 12, 2026.
Assessment
This issue has not been assessed yet.
Description
Does this issue occur when all extensions are disabled?: No (python + jupyter notebook enabled)
- VS Code Version: 1.124.2 (user setup)
- OS Version: Windows_NT x64 10.0.19045
Steps to Reproduce:
- Open a Jupyter notebook that has at least one Markdown heading followed by code cells (so a foldable "section" exists).
- Open Keyboard Shortcuts (
Ctrl+K Ctrl+S), search fornotebook.section.runCells, and assign any key combination (e.g.Ctrl+Alt+R). - Click into a code cell that belongs to a section.
- Press the assigned shortcut.
Expected
The cells in the section containing the active cell are executed — the same behavior as clicking the "Run Cells In Section" triangle in the Outline.
Actual
Nothing happens. The command silently does nothing.
Cause
notebook.section.runCells reads its target cell/notebook exclusively from the menu context argument (outline entry or cell context). When invoked via a keybinding or the Command Palette, no such context is passed, so the handler returns early without doing anything.
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.9k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
new release
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
testplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in microsoft/vscode
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·