Check and update the code index for workspaces opened in Qoder CN.
Workspace Index helps Qoder CN 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.
Use one pattern per line in
Select Save after editing. Avoid excluding source directories merely to make indexing faster; excluded content cannot be retrieved through the workspace index.
After an update, return to a task in the same workspace and ask Qoder CN 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.
If indexing does not update as expected, first confirm that the workspace path is accessible. Then check whether
Check a workspace
- Open the user menu and select Settings, or use the Settings shortcut.
- Under Coding, select Workspace Index.
- Select the workspace you want to inspect.
- Check Index status.
.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:
| Pattern | Result |
|---|---|
config.local.json | Excludes one file. |
dist/ | Excludes the entire directory. |
*.log | Excludes files with the .log extension. |
**/generated/ | Excludes generated directories at any depth. |
Confirm the result
After an update, return to a task in the same workspace and ask Qoder CN 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.