Skip to content

Allow Coder to search workspace #15467

@eneufeld

Description

@eneufeld

Two Options to Implement Workspace Search

1. Use Theia Internal Search Feature

This leverages the existing search mechanism used by the Theia UI, including support for regex.

  • Pros:

    • Clear interface.
    • Likely straightforward to integrate and implement.
  • Cons:

    • Introduces a new tool call.
    • Limited to search functionality only.

2. Use Terminal to Run grep

Run search operations via terminal commands (e.g., grep) through the terminal interface.

  • Pros:

    • Unifies tool usage — reduces the number of separate tool functions in the long run.
  • Cons:

    • Requires terminal access, which introduces potential security concerns and needs safeguards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions