set_project_root
Register a project root and make it active for symbol-based code navigation; re-registering switches roots without reindexing unless force is true.
Instructions
Register a new project root and switch to it. If the path is already registered, this becomes a cheap active-root switch (no reindex) unless force=true is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Alias de `path`. Absolute path to the project root directory. | |
| path | No | Absolute path to the project root directory. | |
| root | No | Alias de `path`. Absolute path to the project root directory. | |
| force | No | Rebuild the index even if the project is already registered. | |
| project | No | Alias de `path`. Absolute path to the project root directory. |