One read of Claude Code CLIclaude-code-20261114T170701Z
2 pages moved out of 205 read.
Pages moved
2
significant first
Pages read
205
in this capture
Captured
17:07 UTC
Corpus hash
2abd34d76389
corpus-hash
What this read moved
1-2 of 2tools-reference Changed · +4 / -0 lines
### Replacing a cell clears its saved outputs in the file
from line 446
446446
447447Permission rules use the `Edit(...)` path format. A rule like `Edit(notebooks/**)` covers NotebookEdit calls on files in that directory.
448448
449### Replacing a cell clears its saved outputs in the file
450
451When NotebookEdit replaces a code cell, its execution count and saved outputs are cleared. To get the output back, re-run the cell and any cells that use the functions or variables it defines. See [Work with Jupyter notebooks](https://code.claude.com/docs/en/vs-code.md#work-with-jupyter-notebooks) for the VS Code workflow.
452
449453## PowerShell tool
450454
451455The PowerShell tool lets Claude run PowerShell commands natively. On Windows, this means commands run in PowerShell instead of routing through Git Bash. How the tool becomes available depends on your platform:
vs-code Changed · +15 / -1 lines
## Work with Jupyter notebooks ### Re-run edited cells ### Save the notebook before an edit
from line 602
602602
603603A conversation moves into a worktree when, for example, you [ask Claude to work in one](https://code.claude.com/docs/en/worktrees.md#ask-claude-to-create-a-worktree). When you reopen it, or the panel [reopens it after a window reload](#continue-conversations-after-a-reload), it resumes in the worktree if Claude Code created the worktree under `.claude/worktrees/` and it still exists. Before Claude Code v2.1.300, an empty conversation opened instead. On those versions, update the extension.
604604
605## Work with Jupyter notebooks
606
607Claude Code edits notebooks with the [NotebookEdit tool](https://code.claude.com/docs/en/tools-reference.md#notebookedit-tool-behavior).
608
609### Re-run edited cells
610
611When Claude replaces a code cell, it rewrites the cell's source in the file and clears the cell's saved output and execution count.
612
613The edit doesn't require a kernel restart: NotebookEdit writes only the file and doesn't connect to your kernel. Re-run that cell, and any cells that use the functions or variables it defines.
614
615### Save the notebook before an edit
616
617Save the notebook before you ask for an edit; the extension's [`autosave` setting](#extension-settings) doesn't save before NotebookEdit.
618
605619## Run work in the background
606620
607621Send a long-running command or subagent to the background, then check on it from the prompt box.
from line 747
733747| `initialPermissionMode` | - | Controls approval prompts for new conversations: `default`, `plan`, `acceptEdits`, or `bypassPermissions`. `manual` is an alias for `default` and selects the mode labeled **Manual** in the mode indicator. When you leave it unset, the extension chooses the starting permission mode as described in [Switch permission modes](https://code.claude.com/docs/en/permission-modes.md#switch-permission-modes). |
734748| `preferredLocation` | `panel` | Where Claude opens: `sidebar` (right) or `panel` (new tab) |
735749| `lockEditorGroups` | `true` | [Lock the editor groups Claude starts for its tabs](#choose-where-claude-lives), so files you open while a Claude tab is focused go to another group. When off, the extension never locks an editor group. Requires Claude Code v2.1.274 or later |
736| `autosave` | `true` | Auto-save files before Claude reads or writes them |
750| `autosave` | `true` | Auto-save files before the Read, Edit, and Write tools run |
737751| `attachOpenFile` | `true` | Add the file that is open in the editor to your messages and show it in the prompt box. When off, the file is added only along with text you select. Requires Claude Code v2.1.271 or later |
738752| `attachSelection` | `true` | Add the text you select in the editor to your messages and show it in the prompt box. When off, you can still [add a selection as an @-mention](#automatic-context-from-your-selection-and-open-file). Requires Claude Code v2.1.300 or later |
739753| `useCtrlEnterToSend` | `false` | Use Ctrl/Cmd+Enter instead of Enter to send prompts |