Skip to main content
Configuration

Workspace Index

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

Workspace Index helps Qoder retrieve relevant code from a local workspace. Use its Settings page when code search appears stale, a recently changed file is not being found, or you want to confirm whether automatic updates are available. 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.