Qoder supports rich context inputs, such as code files, directories, images, gitCommit, and rules. You can supplement your questions with these resources to clarify your requirements.

How to add context

Use any of these methods to open the context selection window to add context in AI Chat:
  • Method 1: Click + Add Context in the input box.
  • Method 2: Type @ in the input box. Continue typing to search for files. Select a context type, such as @file@folder, or @gitCommit, then search for specific content. Multiple selections are supported.
  • Method 3: Drag and drop or copy and paste code files and images to add them as context.

Supported context types

Qoder provides multiple context options that can be used together with your input to create full requirement expressions. The following context types are supported:
  • @file
  • @rule
  • @folder
  • @image
  • @codeChanges
  • @gitCommit
These context types are detailed below.

@file

Use this command to ask questions about or modify a file or multiple files. Type @file in the input box to select a code files, or multiple ones. You can also add files as context by dragging and dropping them from the explorer to the chat box. Here are some tips when adding files:
  • To emphasize a file in your description, type @ followed by the file name.
  • When you add the file as context by dragging and dropping it, it will automatically be emphasized.

@rule

Rules embedded system prompts into every model call, providing persistent, reusable context that keeps guidance consistent across code generation, refactoring, and workflow automation.

@folder

Use this command to ask about or modify a code snippet. This is useful when searching, refactoring, commenting, or generating unit tests. Type @folder, then search for the folder by name. Select the project folder containing the code snippet, along with your requirements.

@image

Use this command to add images and generate code, fix bugs, or show something visually. For example, you can create a frontend page from a design image. Type @image, and Qoder will prompt you to upload an image. Alternatively, copy and paste an image to the chat box.

@codeChanges

To view code changes in the current Git staging area, use the@codeChanges command. For example, before pushing code to a Git repo, you can have Qoder review and optimize the code, or add unit tests.

@gitCommit

For code changes in a Git commit, add the commit details using @gitCommit. For example, select one or more Git commit records for tasks such as troubleshooting, bug fixing, and unit test generation.