Context
Last updated
Was this helpful?
Last updated
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.
There are multiple ways to add Context to the 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:
Mac: Cmd+Shift+E
Windows: Ctrl+Shift+E
JetBrains:
Mac: Cmd+Option+Comma
Windows: Ctrl+Alt+Comma
Files and Folders: Select any file or folder from your project to add as context. Learn more on limitations.
Usage: Click on Context and select Files and folders
.
A searchbar will open. You can choose files or folders from the list, or type in a file or folder name and choose them.
Entire Project: Select your entire project to add as context. Learn more on limitations.
Usage: Click on Context and select Files and folders
. 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: If any Focus is set, remove it by clicking the X button next to it. Then click on Context and select Add an image. Learn more about adding images.