Skip to main content
Configuration

Workspace Index

Check and update the code index for workspaces opened in Qoder.

Workspace 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, workspace 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 vector data is retained in the cloud. An index improves retrieval across a repository; it does not replace opening and checking the source files used for a change. Exclude generated output, dependencies, logs, and sensitive local files so results stay focused on maintainable project content.

Check a workspace

  1. Open the user menu and select Settings, or use the Settings shortcut.
  2. Under Coding, select Workspace Index.
  3. Select the workspace you want to inspect.
  4. Check Index status.
When the status is Not indexed, select Start indexing. With Auto index enabled, Qoder automatically creates and updates indexes for repositories with fewer than 10,000 files. Under Index exclusions, select Manage to edit .qoderignore in the workspace root. It follows .gitignore matching rules, and entries from .gitignore are excluded by default.

Exclude files from the index

Use one pattern per line in .qoderignore:
PatternResult
config.local.jsonExcludes one file.
dist/Excludes the entire directory.
*.logExcludes files with the .log extension.
**/generated/Excludes generated directories at any depth.
Select Save after editing. Avoid excluding source directories merely to make indexing faster; excluded content cannot be retrieved through the workspace index.

Confirm the result

After an update, return to a task in the same workspace and ask Qoder to locate a known symbol or recently changed file. Confirm that the answer cites the expected file rather than relying only on the status shown in Settings.

Troubleshoot indexing

If indexing does not update as expected, first confirm that the workspace path is accessible. Then check whether .gitignore or .qoderignore excludes the file. Reopen the workspace tab in Settings → Workspace Index and review the status. Repositories with 10,000 files or more are not automatically indexed by Auto index; select the workspace and start indexing manually.