Search in files (Ctrl+Shift+F) #56

Closed
opened 2026-10-22 21:25:05 -04:00 by jared · 0 comments
Owner

A Search view next to Explorer and Changes, like VS Code's.

  • Query box: has Match case, Whole word and Regular expression toggles, and searches as you type.
  • Results: grouped by file (collapsible), with line numbers and the matches highlighted. Click a result, or press Enter on it, to open the file at that line; ↓ moves from the box into the results.
  • Ctrl+Shift+F, or "Search in files" in the palette, opens it. Text selected in the editor or page becomes the query.
  • Server: devdesk attach --fs-grep SESSION FLAGS QUERY uses git grep in a repository (tracked + untracked, .gitignore honoured). Elsewhere it uses grep -r without node_modules, .git, build and cache folders. Binary files are skipped. It returns at most 2000 lines, each cut to 400 characters, and has a bats test.
A **Search** view next to Explorer and Changes, like VS Code's. - **Query box:** has Match case, Whole word and Regular expression toggles, and searches as you type. - **Results:** grouped by file (collapsible), with line numbers and the matches highlighted. Click a result, or press Enter on it, to open the file at that line; ↓ moves from the box into the results. - **Ctrl+Shift+F**, or "Search in files" in the palette, opens it. Text selected in the editor or page becomes the query. - **Server:** `devdesk attach --fs-grep SESSION FLAGS QUERY` uses `git grep` in a repository (tracked + untracked, `.gitignore` honoured). Elsewhere it uses `grep -r` without node_modules, .git, build and cache folders. Binary files are skipped. It returns at most 2000 lines, each cut to 400 characters, and has a bats test.
jared closed this issue 2026-10-22 21:25:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/devdesk#56