Skip to main content

Codebase indexing

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