-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[SIW]: Exclude ignored files from search #8406
Closed
Closed
Conversation
This file contains 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
packages/search-in-workspace/src/node/ripgrep-search-in-workspace-server.slow-spec.ts
Outdated
Show resolved
Hide resolved
packages/search-in-workspace/src/node/ripgrep-search-in-workspace-server.slow-spec.ts
Outdated
Show resolved
Hide resolved
packages/search-in-workspace/src/node/ripgrep-search-in-workspace-server.slow-spec.ts
Outdated
Show resolved
Hide resolved
vince-fugnitto
added
the
search in workspace
issues related to the search-in-workspace
label
Aug 19, 2020
Anasshahidd21
commented
Aug 20, 2020
packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx
Outdated
Show resolved
Hide resolved
Anasshahidd21
force-pushed
the
SIWIgnoredFiles
branch
4 times, most recently
from
August 20, 2020 14:38
b12418b
to
1624018
Compare
Anasshahidd21
force-pushed
the
SIWIgnoredFiles
branch
from
August 20, 2020 15:08
1624018
to
4665849
Compare
Anasshahidd21
force-pushed
the
SIWIgnoredFiles
branch
from
August 20, 2020 15:30
4665849
to
c207528
Compare
@vince-fugnitto thank you for your review and also for helping me write additional tests. The PR is ready for another round of review. |
Anasshahidd21
force-pushed
the
SIWIgnoredFiles
branch
2 times, most recently
from
August 22, 2020 01:13
86302db
to
8bdddb1
Compare
akosyakov
reviewed
Aug 24, 2020
packages/search-in-workspace/src/common/search-in-workspace-interface.ts
Outdated
Show resolved
Hide resolved
Is it aligned with VS Code settings schemas? |
vince-fugnitto
force-pushed
the
SIWIgnoredFiles
branch
from
August 25, 2020 19:44
8bdddb1
to
16192e4
Compare
Fixes: eclipse-theia#7273 The commit includes the following updates: - adds the preference `search.exclude` - adjusts the search-in-workspace to respect both the `files.exclude` and `search.exclude` preferences when searching. Signed-off-by: Anas Shahid <muhammad.shahid@ericsson.com>
vince-fugnitto
force-pushed
the
SIWIgnoredFiles
branch
from
August 25, 2020 19:49
16192e4
to
03d322c
Compare
Closing in favor of: #8433 which has the minimal changes. The |
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 it does
Fixes: #7273
The pull-request includes the following changes:
search.exclude
preference.search-in-workspace
to respect the preference when searching (bothfiles.exclude
andsearch.exclude
).How to test
search-in-workspace
(siw) works correctly.files.exclude
preference (ex:**/*.git
does not yield results).search.exclude
preference.search.exclude
preference can override the defaultfiles.exclude
preference values.exclude input
works correctly.exclude
pass successfully.Review checklist
Reminder for reviewers
Signed-off-by: Anas Shahid muhammad.shahid@ericsson.com