One read of Claude Code CLIclaude-code-20261203T103701Z
3 pages moved out of 220 read.
Pages moved
3
significant first
Pages read
220
in this capture
Captured
10:37 UTC
Corpus hash
6d26218861e1
corpus-hash
What this read moved
1-3 of 3vs-code Changed · +33 / -4 lines
### Mermaid diagrams in responses ### Turn the new look on or off ### Toggle focus and open tabs on Windows
from line 98
9898
9999Check the [permission mode](https://code.claude.com/docs/en/permission-modes.md#which-mode-a-session-starts-in) shown at the bottom of the prompt box:
100100
101* In Auto or Edit automatically mode, Claude edits [most files](https://code.claude.com/docs/en/permission-modes.md#protected-paths) in your workspace without asking.
101* In Auto or Accept edits mode, Claude edits [most files](https://code.claude.com/docs/en/permission-modes.md#protected-paths) in your workspace without asking.
102102* In Manual mode, when Claude wants to edit a file, it shows a side-by-side comparison of the original and proposed changes, then asks for permission. You can accept, reject, or tell Claude what to do instead. If you edit the proposed content directly in the diff view before accepting, Claude is told that you modified it so it doesn't assume the file matches its original proposal.
103103
104104 
from line 129
129129 * `/plan`: switches to plan mode. If you're already in plan mode, shows the current plan instead.
130130 * `/plan` with a task, such as `/plan fix the auth bug`: switches to plan mode and starts planning that task.
131131 * `/plan open`: when you're already in plan mode, opens the plan file in the editor.
132 * **Edit automatically**: Claude makes edits without asking.
132 * **Accept edits**: Claude edits [most files](https://code.claude.com/docs/en/permission-modes.md#protected-paths) in your workspace without asking.
133133* **Model**: select **Switch model** from the command menu to change the model mid-session. You can also click the model name at the bottom of the prompt box to open the same picker. With Claude Code v2.1.284 or later, typing `/model` on its own in the prompt box opens the picker too.
134134
135135 When the current model supports [effort levels](https://code.claude.com/docs/en/model-config.md#adjust-effort-level), the picker also shows an **Effort** row and the model name button shows the selected level. When you pick a level other than `max`, Claude Code saves it for the current model as your default, under [`modelSettings`](https://code.claude.com/docs/en/settings-reference#modelsettings) in your user settings; `max` applies to the current session only. The model name button and the **Effort** row require Claude Code v2.1.257 or later.
from line 280
280280
281281When you select and copy text that includes a typeset formula, you get the formula's TeX source in `$…$` or `$$…$$` delimiters rather than the drawn symbols. [**Copy response**](#use-the-prompt-box) and `/copy` give you the response as Claude wrote it, TeX source included.
282282
283### Mermaid diagrams in responses
284
285To see `mermaid` code blocks in Claude's responses as diagrams in the chat panel, turn on the [new look](#turn-the-new-look-on-or-off), which is off by default. Diagrams require version 2.1.334 or later of the extension.
286
287If you see `This diagram couldn’t be drawn. Showing its source.`, ask Claude to fix or shorten the diagram, or to use another diagram type, such as a flowchart. In VS Code's screen reader mode, a `mermaid` code block shows its source until you click **Show diagram**.
288
283289### Resume past conversations
284290
285291Click the **Session history** button at the top of the Claude Code panel to access your conversation history. You can search by keyword or browse by time.
from line 417
411417
412418To scale all of VS Code along with the Claude panel, zoom the window with `Cmd+=` on Mac or `Ctrl+=` on Windows and Linux.
413419
420### Turn the new look on or off
421
422To use the new look of Claude Code in VS Code, or to go back to the previous look, change the New Look setting and reload the window. Requires Claude Code v2.1.333 or later.
423
424**1. Open the setting on the User tab**
425
426Open the [New Look setting](vscode://settings/claudeCode.newLook), or search VS Code settings for `claudeCode.newLook`. Select the **User** tab, because the extension ignores the **Workspace** tab's value.
427
428**2. Turn the setting on or off**
429
430Check the box for the new look, or uncheck it for the previous look. Before v2.1.335, select **On** (`true`) or **Off** (`false`) from the setting's dropdown.
431
432**3. Reload the window**
433
434Run **Developer: Reload Window** from the Command Palette in each open window. The chat panel and the sessions list then show the look you chose. If the new look doesn't appear, update VS Code and the extension, then reload again.
435
414436### Continue conversations after a reload
415437
416438After you run **Developer: Reload Window** or restart VS Code, check where the conversation was open:
from line 696
674696
675697| Command | Shortcut | Description |
676698| - | - | - |
677| Focus Input | `Cmd+Esc` (Mac) / `Ctrl+Esc` (Windows/Linux) | Toggle focus between editor and Claude |
699| Focus Input | `Cmd+Esc` (Mac) / `Alt+Y` (Windows) / `Ctrl+Esc` (Linux) | Toggle focus between editor and Claude. On Windows, check the [version requirement](#toggle-focus-and-open-tabs-on-windows) |
678700| Focus Last Message | - | Move keyboard focus to the newest message in the conversation, or to a waiting permission prompt, so you can read from there with the keyboard or a screen reader. Not available in [terminal mode](#switch-to-terminal-mode). Requires Claude Code v2.1.268 or later |
679701| Open in Side Bar | - | Open Claude in the sidebar. To prefill a new conversation on Claude Code v2.1.330 or later, bind a key to `claude-vscode.sidebar.open` with `"args": { "prompt": "Review this file" }` |
680702| Open in Terminal | - | Open Claude in terminal mode |
681| Open in New Tab | `Cmd+Shift+Esc` (Mac) / `Ctrl+Shift+Esc` (Windows/Linux) | Open a new conversation as an editor tab |
703| Open in New Tab | `Cmd+Shift+Esc` (Mac) / `Shift+Alt+Y` (Windows) / `Ctrl+Shift+Esc` (Linux) | Open a new conversation as an editor tab. On Windows, check the [version requirement](#toggle-focus-and-open-tabs-on-windows) |
682704| Open in New Window | - | Open a new conversation in a separate window |
683705| New Session | `Cmd+N` (Mac) / `Ctrl+N` (Windows/Linux) | Start a new conversation. Requires Claude to be focused and `enableNewConversationShortcut` set to `true` |
684706| Reopen Closed Session | `Cmd+Shift+T` (Mac) / `Ctrl+Shift+T` (Windows/Linux) | Reopen the most recently closed Claude session tab. Falls through to VS Code's normal reopen-closed-editor when the last closed tab wasn't a Claude session. Disable with `enableReopenClosedSessionShortcut` |
from line 717
695717| Show Logs | - | View extension debug logs |
696718| Logout | - | Sign out of your Anthropic account |
697719
720### Toggle focus and open tabs on Windows
721
722To toggle focus with `Alt+Y` or open a new tab with `Shift+Alt+Y`, you need Claude Code v2.1.335 or later. If the Extensions view shows an earlier [extension version](#install-the-extension), update the extension there.
723
724When VS Code on Windows connects to WSL, an SSH host, or a dev container, use the same two shortcuts.
725
698726### Launch a VS Code tab from other tools
699727
700728The extension registers a URI handler at `vscode://anthropic.claude-code/open`. Use it to open a new Claude Code tab from your own tooling: a shell alias, a browser bookmarklet, or any script that can open a URL. If VS Code isn't already running, opening the URL launches it first. If VS Code is already running, the URL opens in whichever window is currently focused.
from line 812
784812| `continueAfterReload` | `true` | After a window reload, Claude [continues the step that was interrupted](#continue-conversations-after-a-reload) in the restored session. Requires Claude Code v2.1.274 or later |
785813| `hideOnboarding` | `false` | Hide the onboarding checklist (graduation cap icon) |
786814| `focusView` | `false` | Hide tool calls, tool results, and thinking behind expandable rows, leaving your prompts and Claude's responses. Claude's latest to-do list stays visible; this requires Claude Code v2.1.225 or later. You can also toggle Focus view from the command menu. Requires Claude Code v2.1.221 or later |
815| `newLook` | `false` | [Use the new look of Claude Code in VS Code](#turn-the-new-look-on-or-off). Requires a window reload and Claude Code v2.1.333 or later |
787816| `respectGitIgnore` | `true` | Exclude .gitignore patterns from file searches and from [selection context](#selected-text-from-excluded-or-ignored-files) |
788817| `usePythonEnvironment` | `true` | Activate the workspace's Python environment when running Claude. Requires the Python extension. |
789818| `environmentVariables` | `[]` | Set environment variables for the Claude process. Use Claude Code settings instead for shared config. A [`CLAUDE_CONFIG_DIR`](https://code.claude.com/docs/en/env-vars) entry applies only when its value is an absolute path; the extension doesn't expand `~` and ignores a relative value. |
chrome Changed · +1 / -1 lines
from line 126
126126
127127In a VS Code session, when Claude Code asks before a browser action, the prompt appears as a card in the chat panel.
128128
129In a session that connected to your browser at start because [Enabled by default](#enable-chrome-by-default) is on, Claude Code asks you before browser actions on a site you haven't allowed, in Manual, Edit automatically, Auto, and Bypass permissions modes. In Auto and Bypass permissions modes, this applies until you type `@browser` in that session.
129In a session that connected to your browser at start because [Enabled by default](#enable-chrome-by-default) is on, Claude Code asks you before browser actions on a site you haven't allowed, in Manual, Accept edits, Auto, and Bypass permissions modes. In Auto and Bypass permissions modes, this applies until you type `@browser` in that session.
130130
131131### Browser tools in plan mode
132132
permission-modes Changed · +2 / -2 lines
from line 200
200200> | UI label | Mode |
201201> | :- | :- |
202202> | Manual | `default` |
203> | Edit automatically | `acceptEdits` |
203> | Accept edits | `acceptEdits` |
204204> | Plan | `plan` |
205205> | Auto | `auto` |
206206> | Bypass permissions | `bypassPermissions` |
from line 208
208208> **As a default**: to pin the permission mode conversations start in, set `claudeCode.initialPermissionMode` in your VS Code user settings to `default`, `manual`, `acceptEdits`, `plan`, or `bypassPermissions`. The setting doesn't accept `auto`; to start in Auto, leave it unset and pick **Auto** from the mode indicator once, as item 2 below describes. The extension starts each new conversation in the first of these that applies:
209209>
210210> 1. `claudeCode.initialPermissionMode`
211> 2. The mode you last picked from the mode indicator, if it was Manual, Edit automatically, or Auto. Picking Plan or Bypass permissions applies to that conversation only
211> 2. The mode you last picked from the mode indicator, if it was Manual, Accept edits, or Auto. Picking Plan or Bypass permissions applies to that conversation only
212212> 3. `permissions.defaultMode` from [managed settings](https://code.claude.com/docs/en/managed-settings.md) or `~/.claude/settings.json`
213213> 4. The [built-in default](#which-mode-a-session-starts-in) for your plan, provider, and organization settings
214214>