Configuration
The subsequent sections describe the various utilities and configurations of the CodeGPT application.
Main Menu
The main menu is your primary navigation hub within the CodeGPT application. It provides access to essential features and settings.
Tools
Chat
: Engage in AI conversations using the models of your chosen provider or with agents on CodeGPT Plus.Autocomplete
: 💻 Enhance your coding experience with intelligent code completion suggestions (enabled by default). Also, you can find the button for direct access here:
Help
Please feel free to refer to this section when you need help.
Extension Docs
: The document you are reading right now.API Docs
: 📝 Access the API documentation for CodeGPT.Report an issue
: Any issues you encounter can be reported in the Github repository.Feedback
: Send 💌 feedback to the team to help us improve the product.
Settings
These optional configurations enhance your user experience.
Font Size
: Adjust the font size to your preference.Color Mode
: Alter the visual interface of the application by switching between the dark and light themes.
Panel Position
You can adjust the position of the chat panel by dragging it from the sidebar menu.
Sync Your CodeGPT Account
- To sync your CodeGPT account, log in using
Gmail
,GitHub
, or otherMore login options
. - The browser will open CodeGPT Studio. If you don't have an account, you can create one by following the on-screen instructions.
- A confirmation message will appear once logged in, and you can return to the VS Extension.
- Now, you can use the CodeGPT Extension to synchronize the custom agents.
If you have an API Key from another AI provider, please navigate to the specific section here and select your provider.
Codebase Indexing
The Codebase Indexing feature allows you to index your codebase and use it as context for your conversations. In the main menu, you can find the Codebase
button. Click on it to see the Augmented Context options.
What is the difference between Codebase Indexing and simply highlighting text for context? Here's a quick guide on why you might choose to use each:
Use Highlighting When:
- You’re focused on a small snippet or a specific bug
- You don’t want to give access to your whole project
- You need quick, one-off explanations
Use Codebase Indexing When:
- You want CodeGPT to understand and work with your entire project
- You need context-aware suggestions, navigation, or implementations
- You're working on larger features, refactors, or debugging across files
- You want access to more advanced tools like Semantic Search and Knowledge Graphs
Codebase
Click on Create Codebase Index
and select a target folder to start indexing your codebase.
With this feature, the agent will have access to the Semantic Search Tool, which allows you to search for code snippets based on their meaning.
Code Graph
Click on Code Graph
to connect your Knowledge Graph from CodeGPT Studio and use it as context for your conversations.
With this feature, the agent will have access to the Knowledge Graph Tool, which enables searching for nodes and edges based on their meaning.
Chat History
You can access the chat history by clicking on the Chat History
button in the sidebar menu.