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
  • Using /improve
  • Example

Was this helpful?

  1. Qodo Gen Chat
  2. Standard Mode
  3. Commands

/improve

Last updated 2 months ago

Was this helpful?

/improve provides suggestions to improve your code.

Use it to get insights and recommendations for improving code quality, maintainability, and performance, making the overall integrity and efficiency of your codebase better.

Using /improve

  1. Open a file: Open a file in your project.

  2. Activate Qodo Gen: Click the Qodo Gen logo in the Extensions bar.

  3. Focus: Select the part of the code you want to improve. It could be a few lines of code, a method, an entire file, your local changes and more. Check out to learn more.

  4. Call the Command: Type /improve in the chatbox and hit the send key or click the arrow button.

  5. (Optional) Add optional instructions: You can give Qodo Gen any specific guidelines.

  6. Result! Qodo Gen will offer improvements for your code.

  7. Apply improvements: click Preview code to view the changes offered by /improve in your code editor. You can then choose to apply these changes.

  8. (Optional) Continue your chat: To give Qodo Gen more instructions, just type a command or ask a question to keep chatting.

Example

Given this code snippet:

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

const user = "Username";
const hello = sayHello(user);

console.log(hello);

Command

/improve [optional instructions]

Response

[ List of improvement suggestions for your code. ]
our Focus documentation