Qodo Gen is your AI-powered coding assistant and mentor. Qodo Gen helps you understand your code, test it and review it with your team.
Sign in to start using Qodo Gen.
Supports all programming languages!
Qodo Gen uses advanced AI models to deeply understand your code structure, logic, and context to help you write better code.
With Qodo Gen, you can:
And much more.
Start using Qodo Gen by clicking the Qodo Gen logo in your Extensions bar.
Use Qodo Gen's keybinding shortcuts:
alt+shift+c
cmd+ctrl+c
ctrl+win+z
Qodo Gen Chat offers real-time coding assistance within your development environment. Use Qodo Gen Chat for:
Improving your code:
From making it more secure to beautifying and cleaning it.
Understanding your code better:
Simplify onboarding for new or junior developers by providing in-depth insights into your codebase.
Asking free-style questions about your code:
Get instant answers to any code-related question using AI-powered free-form queries.
Generating docstrings:
Improve code maintainability by generating docstrings.
Generating unit tests and test suits:
Secure and eliminate bugs in your code by adding extensive testing.
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.
Select the focus that best fits your current coding task or question. Consider the scope of your query and what it relates to.
To get the best, most relevant results to your Chat query, make sure to choose the most relevant Context. This will help Qodo Gen Chat's AI models tailor the best response for you.
Learn more about Context in this document and in our documentation portal.
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.
To choose Focus, click Add focus
on the bottom left, or type @
in the chatbox.
You can then select one of two Focus types:
Current File: Focuses on the current file you're working on.
When choosing Current File Focus, you have to choose a Secondary Focus option. The Secondary Focus refines the context for Qodo Gen Chat's responses.
There are two options for Secondary Focus:
Selected Lines: Manually select lines in your code to set as the focus for your request.
Component: Select specific code components from the bottom right part of the chatbox. The components consist of functions, methods and classes automatically detected from the current file.
Git Diff: Include Git changes across your entire project, enabling you to manage and review code changes effectively.
To choose Git Diff click on @
and select Git Diff
.
You can then choose to focus on either Local Changes
, Staged Changes
or Committed Changes
.
Git-Diff supports commands for managing commits, documentation, code quality, and more.
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 Qodo Gen Chat to your advantage.
There are multiple ways to add Context to Qodo Gen Chat:
Code Snippet: Select a few lines of code from your project to add as context.
Usage: Select a code snippet, right-click and choose Add to Qodo Gen as context
.
Shortcuts:
VSCode:
Cmd+Shift+E
Ctrl+Shift+E
JetBrains:
Cmd+Option+Comma
Ctrl+Alt+Comma
Files: Select any file from your project to add as context.
Usage: Click on @
or type @
in the chatbox, and select Add a file or a folder
.
Alternatively, right-click any file from your project and choose Add to Qodo Gen as context
.
Folder: Select any folder from your project to add as context.
Usage: Click on @
or type @
in the chatbox, and select Add a file or a folder
.
Alternatively, right-click any folder from your project and choose Add to Qodo Gen as context
.
Entire Project: Select your entire project to add as context.
Usage: Click on @
or type @
in the chatbox, and select Add a file or a folder
. Under the searchbar, choose Full project
.
Image: Select any image to add as context.
For example, add an image of a required design and Qodo Gen Chat will help you create it.
Usage: Click on @
or type @
in the chatbox, and select Upload an image
.
Commands are what Qodo Gen Chat is all about. Call a command to unlock all of Qodo Gen Chat's capabilities.
To call commands either:
/
.Qodo Gen
, then pick a command from the list./ask
: Ask any free-text question about your code.
/explain
: Understand how the selected code works.
/improve
: Get suggestions to improve your code.
/enhance
: Beautify and clean your code.
/docstring
: Automatically generate docstrings.
/find-on-github
: Find relevant open-source code on GitHub.
/quick-test
: Automatically generate unit tests.
/test-suite
: Get step-by-step examples to create a test suite.
Find out more about Qodo Gen Chat Commands on our documentation portal.
Qodo Gen maintains a history of your 20 most recent conversations, allowing you to review past interactions, refresh your memory, or explore new topics.
You can continue a past chat to dive deeper into a topic or request additional information.
Currently, your chat history wouldn't be saved between sessions, and will be deleted once you close IDE. We are working on adding this feature in the future. Stay tuned!
To get to your Chat History, click on the History button on the top right, next to the "New Chat" button.
You can find out more about Qodo Gen Chat in our documentation portal.
Qodo Gen Code Completion is a powerful tool designed to accelerate your coding process, reducing the need for repetitive tasks such as copying and pasting code snippets from the internet.
By enabling Code Completion, Qodo Gen learns from your codebase and provides real-time suggestions that seamlessly integrate with your writing flow.
Code Completion is a Pro feature, exclusively available for Teams and Enterprise users. Visit Qodo's website to learn more.
As you type, Qodo Gen analyzes your code in real-time to grasp your intention. It then presents code completions in a grayed-out format directly in your editor. These suggestions aim to complete your current line of code or offer snippets that fit the context of your work. To accept a suggestion, simply press the Tab key, and the completion will be inserted into your code.
Configure Qodo Gen Extension settings to customize Code Completion to suit your specific coding style and needs.
Provide general instructions to guide Qodo Gen in generating code completions. This customization ensures that the suggestions are not only accurate but also align with your preferences and project requirements.
Learn how to configure your Code Completion settings.
You can find out more about Code Completion in our documentation portal.
Qodo Gen leverages advanced AI technology to generate comprehensive tests for any programming language.
Test generation boosts productivity, enhances code quality and simplifies the development process, helping you deliver reliable, high-performance software with ease.
Test this function
button above the function declaration.Qodo Gen
. From the dropdown menu choose Generate Tests
.The Qodo Gen Testing tab will open.
The more context, the better the tests generated by Qodo Gen.
Provide test examples to Qodo Gen in the test box and improve your generated tests.
The Behaviors Coverage section categorizes function behaviors into three main types, each representing a different aspect of how your code operates:
Click on Generate test
next to any behavior to generate a test for a specific behavior type.
In this section you can find tests generated by Qodo Gen and run them.
Alternatively, you can Run and auto-fix
: if a test fails, Qodo Gen will attempt to fix it automatically and re-run it.
Qodo Gen uses your codebase as Context to generate the most relevant tests. You can manage this Context in the Context
tab.
You can improve and personalize your test suite in the Configuration
section.
Find out more about test generation in our documentation portal.
Manage Extension
option.Find out more about Qodo Gen and other Qodo products in our documentation portal.
Need help? Visit our FAQ and troubleshooting guide.
Similar to other popular generative-AI tools, we transmit code snippets to our servers. You can learn more in our terms of use and privacy policy.
You can opt out of sharing data with Qodo.
Go to the extension's settings and check the box Opt out of sharing my data with Qodo
.