Managing SourceCraft Code Assistant chat context in the JetBrains IDE

Warning

This page describes the chat context features in the JetBrains IDE. For the chat context features in Visual Studio Code, see Managing SourceCraft Code Assistant chat context in Visual Studio Code.

Context is auxiliary information that Code Assistant uses to generate relevant and consistent chat responses.

Adding information to context

  1. In the editor's right-hand panel, click SourceCraft Code Assistant Chat.

  2. In the message input window, click Add Files and Folders to Context.

  3. Select a file or directory.

    Warning

    When you select a directory, only its top-level files will be included in the context.

Viewing the current context

In the message input window, click .

Viewing used context

Below the title of your message (Me), click to the right of Used references.

See also

Previous