-
Notifications
You must be signed in to change notification settings - Fork 30.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search In Open Editors #107756
Search In Open Editors #107756
Conversation
2196c4a
to
266916a
Compare
266916a
to
f56d7fc
Compare
Looks good, I think it would be fine to begin with something like this and we can keep discussing fancier solutions. In case you aren't aware, this will also be hit by #62488 - only files that have been focused and loaded in this vscode session will be searched. Existing issue, but we may want to prioritize fixing that since this could make it more obvious. |
@@ -42,6 +42,9 @@ export class RipgrepTextSearchEngine { | |||
|
|||
const cwd = options.folder.fsPath; | |||
|
|||
console.log({ query, options, rgArgs, cwd }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait I removed that already, I think you're looking at an old version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I think the gh notification just takes me to some random new commit which is not necessarily the latest one
Work in progress. Needs some larger architectural changes to search to allow for requesting results from a single file.
This PR fixes #106790