Roo-Code/src/services
Daniel 440ec30d66
fix: add error message when no workspace folder is open for code indexing (#6227)
* fix: add error message when no workspace folder is open for code indexing

- Add 'Indexing requires an open workspace folder' error message in orchestrator.ts
- Replace hardcoded error string with translatable message using i18n
- Add translations for the error message in all 18 supported languages
- Ensures proper error handling when users attempt code indexing without a workspace

* fix: add workspace folder checks for code indexing operations

- Add null checks for codeIndexManager in webviewMessageHandler
- Show translated error message when no workspace folder is open
- Prevents crashes when users try to use indexing features without a workspace
- Uses existing translation key from orchestrator

* Update src/i18n/locales/ca/embeddings.json

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-07-25 20:14:35 -04:00
..
browser fix: resolve URL loading timeout issues in @ mentions (#5160) 2025-06-30 10:40:53 -04:00
checkpoints fix: Exclude Terraform and Terragrunt cache directories from checkpoints (#4601) (#5750) 2025-07-15 19:50:55 -04:00
code-index fix: add error message when no workspace folder is open for code indexing (#6227) 2025-07-25 20:14:35 -04:00
glob list-files must include at least the first-level directory contents (#5303) 2025-07-15 17:34:03 -04:00
marketplace feat: add confirmation dialog and proper cleanup for marketplace mode removal (#6136) 2025-07-24 00:57:10 -04:00
mcp feat: auto-omit MCP content when no servers are configured (#5889) 2025-07-20 15:25:26 -04:00
mdm Sharing improvements (#5082) 2025-06-24 16:36:32 -04:00
ripgrep Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
roo-config feat: add support for loading rules from global and project-local .roo directories (#5016) 2025-06-24 11:40:45 -04:00
search Await checkpoint saves (except the initial) (#2665) 2025-04-15 16:57:12 -07:00
tree-sitter fix: resolve Go duplicate references in tree-sitter queries (#5367) (#5377) 2025-07-04 20:49:40 -04:00