Codebase indexing improves context understanding to help agents provide more accurate answers. When you first open a project, you can choose to create an index and configure automatic incremental updates for subsequent changes. Use
By default, Qoder CN IDE indexes all project files except for the following:
Define additional files or directories to exclude from indexing.
Check whether a file is ignored:
View indexed codebases in each project's indexing settings.
Qoder CN does not store your source code.
.gitignore and .qoderignore to exclude files that do not need to be indexed. Cross-project indexing at the workspace level is also supported.
For data processing, codebase indexing uploads only the necessary code files, excluding configuration files, secrets, and other nonessential files, to generate vector data in the cloud. The uploaded code files are destroyed after vector generation. Only the vector data is retained in the cloud.
This page covers the standalone Qoder CN IDE.
Configure indexing
- In Qoder CN IDE, click the user icon in the upper-right corner or press ⌘ ⇧ , (macOS) or Ctrl shift , (Windows), then select Qoder CN IDE Settings.
- In the navigation pane on the left, click Indexing.
- Choose an option:
- To manually enable indexing, click Create next to Codebase Indexing.
- To automatically create or update the index, enable Auto Index.
Ignore files
By default, Qoder CN IDE indexes all project files except for the following:
- Files and directories listed in .gitignore
- Files listed in .qoderignore
Specify custom ignore files
Define additional files or directories to exclude from indexing.
- In Qoder CN IDE, click the user icon in the upper-right corner or press ⌘ ⇧ , (macOS) or Ctrl shift , (Windows), then select Qoder CN IDE Settings.
- In the navigation pane on the left, click Indexing.
- Click Manage next to Ignore Files to configure custom ignore paths.
| Example | Description |
|---|---|
| config.json | Ignores config.json. |
| dist/ | Ignores the dist directory and its contents. |
| *.log | Ignores all .log files. |
| **/logs | Ignores logs directories at any depth. |
!app/ | Negates an ignore pattern for this path. |