Skip to main content
Context

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. Vector data is stored only locally on the client.
Available only in Qoder CN IDE and JetBrains IDE plugins. Not supported in Visual Studio Code.

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 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 a maximum of 6,000 files.

Ignore files

Qoder CN By default, Qoder CN 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 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.
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.