Skip to main content

Code completions

Get code at cursor from state-of-the-art reasoning models.

✓ Includes selected context
✓ Designed for on-demand use

You can use it:

  • on-demand in the Home tab,
  • via the command palette,
  • keybindings you set up for
    Code Web Chat: Code Completion and
    Code Web Chat: Code Completion using... commands.

API message structure

Find correct replacement for <missing text> symbol. Respond with replacement text in "replacement" XML tags, without explanations or any other text.
<files>
<text title="...">...</text> // selected websites
...
<file path="...">...</file> // selected workspace files excluding current editor
...
<file path="..."> // current editor
...
<missing text> // cursor position
...
</file>
</files>
Find correct replacement for <missing text> symbol. Respond with replacement text in "replacement" XML tags, without explanations or any other text.