> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Inline context

<Badge color="deployment" size="sm" shape="pill">Enterprise</Badge>

<Note>
  Qodo IDE plugin, formerly Qodo Gen, brings local code review workflows to JetBrains and VS Code as part of the Qodo Platform.
</Note>

Think of context like the brain of Qodo Chat.

The context is what Qodo's AI models know about your code and what they use to give the best, most accurate response.

**Adding more context will give more accurate and relevant responses**, so choosing context is an important part of using Chat to your advantage.

Use inline context to quickly access relevant code components and include them in your Qodo Chat queries.

## Set inline context

<Steps>
  <Step title="Type @ in the chatbox.">
    A dropdown menu containing all referencing options will open.
  </Step>

  <Step title="Select relevant component:">
    The dropdown menu provides a list of code components that can be referenced. These include:

    * Folders
    * Files
    * Classes
    * Functions
    * Methods
    * [Repository tags](/qodo-ide/code-intelligence/context-engine)
    * Git Diff
      * You can tag your local changes, branch changes and more
  </Step>

  <Step title="Type and select">
    Start typing the name of the component you’re looking for until it shows in the dropdown menu. You can then select it either by using the arrow keys or clicking on it.
  </Step>
</Steps>

Inline context automatically suggests the current file and its symbols, ensuring that the most relevant code components are readily accessible.

## Keyboard shortcut

You can add **code snippets** as context using a keyboard shortcut.

* **VSCode**:
  * macOS: `CMD+Shift+E`
  * Windows: `CTRL+Shift+E`
* **JetBrains IDEs**:
  * macOS: `CMD+ALT+,`
  * Windows: `CTRL+ALT+,`

## Example usage

In the chatbox, type `@` to quickly reference the `sayHello` function or the `user` variable.
