Skip to content
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

Merged
merged 11 commits into from
Jan 22, 2021
Merged

Search In Open Editors #107756

merged 11 commits into from
Jan 22, 2021

Conversation

JacksonKearl
Copy link
Contributor

Work in progress. Needs some larger architectural changes to search to allow for requesting results from a single file.

This PR fixes #106790

@JacksonKearl JacksonKearl force-pushed the jackson/search-in-editors branch from 266916a to f56d7fc Compare January 20, 2021 17:53
@roblourens
Copy link
Member

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.

@JacksonKearl JacksonKearl marked this pull request as ready for review January 21, 2021 19:37
@JacksonKearl JacksonKearl merged commit 7e55fa0 into master Jan 22, 2021
@JacksonKearl JacksonKearl deleted the jackson/search-in-editors branch January 22, 2021 00:59
@@ -42,6 +42,9 @@ export class RipgrepTextSearchEngine {

const cwd = options.folder.fsPath;

console.log({ query, options, rgArgs, cwd });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops

Copy link
Contributor Author

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

Copy link
Member

@roblourens roblourens Jan 22, 2021

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

@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate predefined file filters search
2 participants