Codebase indexing

Updated at:

automatically vectorizes your local project and creates a codebase index when you open it, enabling efficient retrieval of the current file and cross-file context. Indexing is incremental—new or modified files are processed in real time without manual intervention.

Important

The new Qoder CN documentation site is now available. Content on this site may not reflect the latest product features and changes. Visit docs.qoder.cn for the latest product documentation.

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

​Specify custom ignore files

Define additional files or directories to exclude from indexing.

  1. In 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:

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.

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?

does not store your source code.