Qodo Documentation
HomepageBlogCommunityGet Started
  • Overview
  • Qodo Gen
  • Qodo Portal
  • Administrators Actions
  • Introduction
  • Quickstart
  • Setup and Installation
    • VSCode Installation
    • JetBrains Installation
    • Sign In
    • Extension Settings
    • Uninstall
  • Qodo Gen Chat
    • Agentic Mode
      • Agentic Tools (MCPs)
      • Built-in Tools (MCPs)
    • Standard Mode
      • Focus
        • Current File Focus
        • Git Diff Focus
      • Context
        • Add Entire Folder or Project as Context
        • Add Image as Context
      • Commands
        • /ask
        • /changelog
        • /commit
        • /describe
        • /docstring
        • /enhance
        • /explain
        • /find-on-github
        • /generate-best-practices
        • /help
        • /improve
        • /issues
        • /recap
        • /review
    • Inline Context
    • Chat History
    • Model Selection
    • Chat Preferences
  • Company Codebase (RAG)
    • Tagging
    • Configuration File
  • Code Completion
  • Test Generation
    • Configuring Your Test Setup
  • Data Sharing
  • Release Notes
Powered by GitBook
LogoLogo

Terms and Privacy

  • Terms of Use
  • Privacy Policy
  • Data Processing

© 2025 Qodo. All Rights Reserved.

On this page

Was this helpful?

  1. Qodo Gen Chat

Inline Context

Previous/reviewNextChat History

Last updated 4 days ago

Was this helpful?

Think of Context like the brain of Qodo Gen Chat.

The Context is what Qodo Gen'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 get dynamic, quick access to relevant code components and use them within your Qodo Gen Chat queries with ease, improving efficiency and relevance.

How to set Inline Context

  1. Type @ in the chatbox. A dropdown menu containing all referencing options will open.

  2. Select relevant component: The dropdown menu provides a list of code components that can be referenced. These include:

    • Folders

    • Files

    • Classes

    • Functions

    • Methods

  3. Type and Choose: Start typing the name of the component you’re looking for until it shows in the dropdown menu. You can then choose it either by using the arrow keys or clicking on it.

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

Example Usage

function sayHello(name) {
    return "Hello World! I'm " + name;
}

const user = "Username";

In the chatbox, typing @ would allow users to quickly reference the sayHello function or the user variable.