Repository navigation
Search in Folder (Explorer context menu), release 1.4.0 - #4
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Search in Folder: right-click a folder in the Explorer to scope search in files to it. The scope is literal (glob metacharacters, commas and edge whitespace escaped; parseGlobs accepts `\,`), turns on ignored files for a .gitignore'd folder, and issues a single scoped request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Right-click a folder in the Explorer and pick Search in Folder…. The sidebar switches to Search, sets "files to include" to
<folder>/**and focuses the query; a query that is already there runs again, limited to that folder.Details
\ * ? [ ] { } !), commas and whitespace in the folder name are backslash-escaped, sopages/[id],a,banddocsscope to exactly that folder.parseGlobson the server now treats\,as a literal comma rather than a list separator; other escapes pass through toBun.Glob..gitignore'd folder (dimmed in the Explorer) turns on "Include ignored files", otherwise it could never return results.DESIGN.md§13.package.jsonis bumped to 1.4.0.Tests
test/client.search.folder.test.ts:folderGlobmatching (metacharacters, comma, siblings) andsearchInfilling the include field and re-running the query.test/client.search.folder.scope.test.ts: ignored toggle, single scoped request,\,round-trip throughparseGlobs, edge whitespace, over-long scope.app.ts/tree.tsare not loaded by any test.Known minors left open: the client duplicates the 1,024 limit, and the ignored toggle is only ever switched on.
🤖 Generated with Claude Code