Qodo Documentation
HomepageBlogCommunityGet Started
  • Overview
  • Qodo Gen
  • Qodo Portal
  • On Prem
  • 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
  • Qodo Gen CLI
    • Setup and Quickstart
    • Creating and Managing Agents
    • CI and Automation
    • List of CLI Commands and Flags
    • Use Cases and Examples
  • 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
  • Guidelines on choosing Focus
  • Choose the best Context
  • Switch Focus as needed
  • How to Choose Focus
  • Remove Focus

Was this helpful?

  1. Qodo Gen Chat
  2. Standard Mode

Focus

Last updated 2 months ago

Was this helpful?

Focus is the part of your code that your conversation in Qodo Gen Chat centers around. It could be an entire file or just a few lines of code.

Guidelines on choosing Focus

Select the focus that best fits your current coding task or question. Consider the scope of your query and what it relates to.

Choose the best Context

To get the best, most relevant results to your query, make sure to choose the most relevant Context.

Choosing Context will help Chat's AI models tailor the best response for you.

Learn more about Context.

Switch Focus as needed

You can switch the focus at any time based on the evolving needs of your development work. Qodo Gen seamlessly adapts to the selected focus and updates the context it's using.

How to Choose Focus

To choose Focus, click Select focus on the bottom left of the chatbox.

Usually, your Focus is automatically set to the file you currently have open. In this case, you can manually set it by clicking the file name in the bottom left corner of the chatbox.

For example, in this screenshot, you can set your Focus by clicking index.ts in the bottom left.

You can then select one of two Focus types:

  1. Current File or Component: Focuses on a specific file or component.

    You can choose that Qodo Gen would focus on the entire file or a specific component, like a function or method.

  2. Git Diff: Include Git changes across your entire project, enabling you to manage and review code changes effectively. You can choose from local, staged, and committed changes.

Remove Focus

To remove Focus, click on the X button next to your set Focus.