Skip to content

Inline Chat

Inline Chat lets you describe a code change directly inside the editor without opening the side chat panel. Press Ctrl+I (Cmd+I on macOS) and an input field appears right at your cursor position.

Image

  1. Open a file in the editor.

  2. Press Ctrl+I (Windows/Linux) or Cmd+I (macOS) to open the inline chat input field.

    The input field appears near the cursor position in the editor.

  3. Type your request in natural language. Examples:

    • Refactor this code to use async/await
    • Explain this code
    • Add error handling
  4. Inline Chat includes the context of the active file — the surrounding code (±200 lines from the cursor), file path, programming language, and current cursor position. If you have a selection, it is used as the primary context for the request.

  5. The agent’s response appears in the widget. Accept or reject the suggested changes.

To cancel the current request press Escape, or run the kodik.cancelInlineChat command from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).

  • Inline Chat requires an active editor — open a file before invoking it.
  • Context is limited to the active file (surrounding code ±200 lines). For multi-file work use the main chat panel.
  • Inline Chat requests are processed by the Kodik server — the model and parameters are chosen automatically server-side.