Use Claude Code in VS Code changedvs-code
Nearest release: v2.1.304, published under an hour before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 19 Oct 2026 19:52 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 19 Oct 2026 20:07 UTC.
Upstream edited
Recorded here
Lines+22added
Lines−8removed
From line
246
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits62to this page, all time
#### The Run in background action is missing under a subagent
The whole hunk
from line 246, old and new numbered
/
from line 246
246246
247247Click 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.
248248
249Click any conversation to resume it with the full message history. If the conversation is already open in another tab of the current window, clicking it switches to that tab. If the messages stay blank at first, see [why they're blank and when they appear](#a-resumed-conversation-is-blank-at-first). For more on resuming sessions, see [Manage sessions](/docs/en/sessions).
249Click any conversation to resume it. If the conversation is already open in another tab of the current window, clicking it switches to that tab. If the conversation opens with no messages showing, see [why a resumed conversation is blank at first](#a-resumed-conversation-is-blank-at-first). For more on resuming sessions, see [Manage sessions](/docs/en/sessions).
250250
251251* **Session titles**: new sessions receive AI-generated titles based on your first message.
252252* **Rename and archive**: hover over a session to reveal these actions. Rename to give it a descriptive title, or archive to move it to the **Archived sessions** group at the bottom of the list.
from line 374
374374
375375An open doesn't finish when the panel crashes or stops responding while loading the conversation, or when you reload or close the window within about three seconds of it opening. The conversation is unchanged and stays in [Session history](#resume-past-conversations).
376376
377* **To open it anyway**: click **Open it anyway** or pick the conversation from Session history. If it opens and the panel keeps working, it comes back after later reloads as usual. If the panel stops responding again, reload the window to return to a new chat with the notice.
377* **To open it anyway**: click **Open it anyway** or pick the conversation from Session history. Once the conversation finishes opening, it [comes back after later reloads as usual](#continue-conversations-after-a-reload).
378* **If the panel stops responding while the conversation loads**: reload the window. A new chat opens.
378379* **To leave it closed**: keep working in the new chat. The notice disappears once you send a prompt.
379380
380381### Run multiple conversations
from line 555
554555
555556When a command or a [subagent](/docs/en/sub-agents) keeps Claude waiting longer than you want, click **Run in background** below its tool call in the conversation. Requires Claude Code v2.1.287 or later.
556557
557* **Timing**: the action appears once a command has been running for about two seconds, or as soon as a subagent starts.
558* **Timing**: the action appears once a command has run for about two seconds, or as soon as Claude starts waiting for a [subagent](/docs/en/sub-agents#run-subagents-in-foreground-or-background) it spawned from the main conversation.
558559* **After you click**: Claude stops waiting and continues the turn. The command or subagent keeps running as a [background task](/docs/en/tools-reference#background-commands) that notifies Claude when done.
559560
560561To check on the task or stop it in the meantime, type `/tasks` in the prompt box to open the [agent map](#use-the-prompt-box). A subagent keeps its place in the tree of agents there, and a command is listed below the agents with its [latest output on its card](#monitor-background-processes).
561562
563#### The Run in background action is missing under a subagent
564
565By default in VS Code, subagents don't show this action. To see why for one subagent, open its card in the [agent map](#use-the-prompt-box) and read the `Spawned by` line:
566
567* **`Spawned by the main agent`**: the subagent started in the background, so Claude isn't waiting for it and you don't need to do anything. To have Claude wait for subagents instead, see [Let Claude wait for a subagent](/docs/en/sub-agents#let-claude-wait-for-a-subagent).
568* **`Spawned by` names another subagent**: the action appears only for subagents the main agent spawned, not a [nested subagent](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents) another subagent waits for. To end the nested subagent early, click **Stop agent** on its card. The waiting subagent then carries on without that result.
569
562570### Monitor background processes
563571
564572Type `/tasks` in the prompt box to open the [agent map](#use-the-prompt-box), which lists the session's background tasks, such as a dev server Claude left running as a background shell command. Click a task to open its card, where you can stop it. Requires Claude Code v2.1.277 or later.
from line 926
918926
919927If one formula shows as written while others near it are typeset, check it for these causes:
920928
921* **It reads as something other than math**: `$…$` text that reads as a word stays as written, such as `$O(n log n)$`. `$…$` text that starts with a digit, such as `$30$` or `$1/N$`, also stays as written unless a character such as `=`, `+`, or `^` marks it as math. Ask Claude for a `$$` block on its own lines instead, which the panel typesets without this check.
922* **It's padded, long, or split across lines**: `$ x^2 $` with spaces inside the dollars, `$…$` content over 60 characters, and `$…$` or `\(…\)` split across two lines aren't typeset. Ask Claude for a `$$` block on its own lines instead, which has none of these limits.
923* **The TeX can't be typeset**: a formula with a syntax error, a macro definition such as `\newcommand` or `\def`, or an unescaped `%` shows as written. Ask Claude to rewrite it with the error corrected, without the macro, or with `\%` for a percent sign.
924* **It's too large**: a formula longer than 8,192 characters, or one that would draw far larger than its source, shows as written. Ask Claude to split it into smaller formulas or to write it more compactly.
925* **It follows a large amount of math**: within one block of text in a response, the panel typesets formulas in order up to a limit. A later formula that would go past the limit shows as written. Ask Claude to send the formula you need again by itself.
929* **The formula is inline and the panel doesn't treat it as math**: ask Claude to send it again as a `$$` block on its own lines. The panel leaves an inline formula as written when the text between its `$…$` delimiters:
930 * Is more than simple arithmetic yet has no character such as `=`, `+`, or `^` to mark it as math, as in `$O(n log n)$`
931 * Starts with a digit and has no such character, as in `$30$` and `$1/N$`
932 * Has spaces inside the dollar signs, as in `$ x^2 $`
933 * Is longer than 60 characters
934 * Is split across two lines. A `\(…\)` formula split across two lines isn't typeset either.
935* **The formula has a TeX syntax error**: ask Claude to rewrite it with the error corrected.
936* **The formula defines a macro**: a formula with a macro definition such as `\newcommand` or `\def` shows as written. Ask Claude to rewrite it without the macro.
937* **The formula contains an unescaped `%`**: ask Claude to rewrite it with `\%` for a percent sign.
938* **The formula is too large**: a formula longer than 8,192 characters, or one whose typeset output would be far larger than its TeX source, shows as written. Ask Claude to split it into smaller formulas or to write it more compactly.
939* **The formula follows a large amount of math**: within one block of text in a response, the panel typesets formulas in order up to a limit. A later formula that would go past the limit shows as written. Ask Claude to send the formula you need again by itself.
926940
927941### Claude Code never responds
928942
No line in this hunk matches that.