Skip to main content
Inline Chat brings the power of AI directly into your editor, allowing you to refactor, generate, and understand code without ever leaving your file. It’s the fastest way to make targeted changes and get contextual answers.

How to use Inline Chat

To start an Inline Chat, select a code block to modify it or place your cursor to generate new code, then use the keyboard shortcut (Press⌘ ⇧ I  on macOS or Ctrl Shift I on Windows/Linux) to open the chat window.

Scenarios

Scenario 1: Refactoring or modifying existing code This is perfect for improving, commenting, or changing a block of code.
  1. Select the code you want to modify.
  2. Press ⌘ ⇧ I (or Ctrl Shift I) to open Inline Chat.
  3. Type your request, for example:
    • “Refactor this to be more efficient.”
    • “Add JSDoc comments to this function.”
    • “Convert this to an async/await function.”
  4. Qoder will analyze your request and generate the changes directly in a diff view for your approval.
Scenario 2: Generating new code snippets Use this to write new functions, boilerplate, or test cases from scratch.
  1. Place your cursor on an empty line where the new code should go.
  2. Press ⌘ ⇧ I (or Ctrl Shift I) to open Inline Chat.
  3. Type your request, for example:
    • “Write a function that fetches data from ‘api/users’.”
    • “Generate a regular expression to validate an email address.”
  4. Qoder will generate the new code snippet in place.

Keyboard shortcuts

ActionmacOSWindows/Linux
Open an inline chat⌘ ⇧ ICtrl Shift I
Accept a single change⌘ YCtrl Y
Reject a single change⌘ NCtrl N
Accept all suggested changes⌘ ⏎Ctrl ⏎
Reject all suggested changes⌘ ⌫Ctrl Backspace