Skip to main content

Codebase indexing

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 .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

  1. 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.
  2. In the navigation pane on the left, click Indexing.
  3. Choose an option:
  • To manually enable indexing, click Create next to Codebase Indexing.
  • To automatically create or update the index, enable Auto Index.
Note: Codebase indexing supports up to 100,000 files. Automatic updates are enabled by default for codebases with fewer than 10,000 files. Enable indexing manually for larger codebases.

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.
  1. 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.
  2. In the navigation pane on the left, click Indexing.
  3. Click Manage next to Ignore Files to configure custom ignore paths.
Configuration examples:
ExampleDescription
config.jsonIgnores config.json.
dist/Ignores the dist directory and its contents.
*.logIgnores all .log files.
**/logsIgnores logs directories at any depth.
!app/Negates an ignore pattern for this path.
Check whether a file is ignored:
git check-ignore -v [file]

FAQ

Where can I see the indexed codebases?

View indexed codebases in each project's indexing settings.

Is my source code stored on the Qoder CN server?

Qoder CN does not store your source code.