Choose the chat surface by the work you need

Choose editor inline chat for targeted edits, terminal inline chat for command suggestions, Quick Chat for temporary conversations, and Chat view for broader work. Based on official documentation (checked 27 October 2026).

Your task:
Targeted code edit
Documented choice:
Editor inline chat
Action or boundary:
Review the inline diff with Keep or Undo
Your task:
Terminal command suggestion
Documented choice:
Terminal inline chat
Action or boundary:
Review the response, then choose Run or Insert
Your task:
Temporary conversation
Documented choice:
Quick Chat
Action or boundary:
Open Quick Chat from the title-bar Chat menu
Your task:
Multi-step tasks, multi-file changes or codebase exploration
Documented choice:
Chat view
Action or boundary:
Use the broader conversation interface

For targeted edits, check routing and review the diff

Use editor inline chat for a targeted edit in the active editor, selecting a code block to scope the prompt to that code.

Note: For a file belonging to an active chat editing session, ⌘I on macOS or Ctrl+I on Windows and Linux opens Ask in Chat in the existing session. The editor context menu also shows Ask in Chat. Set inlineChat.askInChat to false to use regular inline chat for these files. Files outside a chat session always open regular inline chat with this shortcut, regardless of that setting.

  1. Open a file in the editor and select the relevant code.
  2. Open editor inline chat with ⌘I on macOS, Ctrl+I on Windows and Linux, or Open Inline Chat from the title-bar Chat menu, accounting for the shortcut-routing exception above.
  3. Type your prompt and press Enter.
  4. Review the inline diff. Choose Keep to accept the changes or Undo to reject them.

Attach important files explicitly. Editor inline chat might use other workspace files as context, but don’t assume that opening a file includes its contents in the request.

Editor workflow with session routing and diff review
Original documentation diagram. Source: Inline chat and Quick Chat. Documentation snapshot checked 27 October 2026. Source: Inline chat and Quick Chat, checked 27 Oct 2026

For commands, review before choosing Run or Insert

Use terminal inline chat for command suggestions, then review the response before running it or inserting it for modification.

  1. Open the terminal through View > Terminal.
  2. Start terminal inline chat with ⌘I on macOS, Ctrl+I on Windows and Linux, or Terminal Inline Chat in the Command Palette.
  3. Type your prompt and press Enter.
  4. Review the response. Choose Run to execute the command, or Insert to put it in the terminal for modification before running.

We’d choose Insert when the suggested command needs modification before execution; Run executes it.

For a temporary conversation, open Quick Chat

Choose Quick Chat for a temporary conversation.

  1. Select Quick Chat from the title-bar Chat menu, or press ⇧⌥⌘L on macOS or Ctrl+Shift+Alt+L on Windows and Linux.
  2. Type your prompt and press Enter.

If the task expands into multi-step work, multi-file changes or broader codebase exploration, we’d use Chat view.

For selection hints, set the experimental affordance setting

The selection hint is experimental; choose whether and where it appears with inlineChat.affordance.

Setting value:
off
Documented selection-hint behavior:
No hint when you select text
Setting value:
editor
Documented selection-hint behavior:
Hint at the cursor within the selection, integrated with the code actions lightbulb

The hint includes an inline chat input and actions to add the selection to chat, explain the code or start a code review.

Set the editor model default for use after reload

Use inlineChat.defaultModel to configure the default language model for editor inline chat.

The setting lists available models from the model picker. If you change the model during an inline chat session, that selection persists for the remainder of the session. After you reload VS Code, the model resets to the configured default.