Skip to content

Conversation

@elasticdotventures
Copy link

@elasticdotventures elasticdotventures commented Jul 12, 2025

This PR introduces the ability to disable the codebase indexing feature via VS Code settings. It addresses the oversight where the indexing feature, once enabled, could not be easily turned off.\n\nChanges include:\n- Modifying to read from user configuration and update accordingly.\n- Exposing in and for user control.\n- Updating and to correctly handle the new setting.\n- Modifying to gracefully handle disabled or unconfigured indexing by returning empty results instead of throwing errors.\n\nCloses #5623


Important

Adds a setting to enable or disable codebase indexing in VS Code, affecting semantic search availability.

  • Settings:
    • Adds settings.codebaseIndexing.enabled.description to package.nls.json to allow enabling or disabling codebase indexing.
  • Behavior:
    • When codebase indexing is disabled, semantic search is unavailable.
    • Handles disabled or unconfigured indexing by returning empty results instead of errors.

This description was created by Ellipsis for 6b01792. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Enhancement New feature or request labels Jul 12, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Jul 12, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Prelim Review] in Roo Code Roadmap Jul 12, 2025
@hannesrudolph hannesrudolph added PR - Needs Preliminary Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Jul 12, 2025
@daniel-lxs
Copy link
Member

Thanks for the contribution. I'm already working on this in PR #5599.

Apologies for the overlap, and we really appreciate you taking the time to look into it.

@daniel-lxs daniel-lxs closed this Jul 12, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Prelim Review] to Done in Roo Code Roadmap Jul 12, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 12, 2025
@elasticdotventures elasticdotventures deleted the feat/disable-repo-indexing branch July 12, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request PR - Needs Preliminary Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants