-
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]: sync search results with editor content changes #8765
[siw]: sync search results with editor content changes #8765
Conversation
40bfc55
to
4d9f257
Compare
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.
The changes work very well, there is now a sync between open editors and the search results 👍. I included minor documentation suggestions but they can be excluded if not applicable.
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
4d9f257
to
2a33431
Compare
@eclipse-theia/core I believe we may have exhaused the travis credits as previously mentioned in the dev meeting: https://github.com/eclipse-theia/theia/wiki/Dev-Meetings#minutes-2020-11-03. |
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
2a33431
to
fd9d7c9
Compare
8d3633d
to
bba0996
Compare
@marechal-p I rebased the PR and resolved conflicts. Can you do another round of review for this PR? |
bba0996
to
2367b40
Compare
2367b40
to
17a37ab
Compare
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
packages/search-in-workspace/src/browser/search-in-workspace-result-tree-widget.tsx
Outdated
Show resolved
Hide resolved
+ Add preference `search.searchOnEditorModification`. Enabling this option will make the search results in search view automatically get updated as user modify the editor. Signed-off-by: Duc Nguyen <duc.a.nguyen@ericsson.com>
17a37ab
to
c42cf15
Compare
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.
LGTM
What it does
search.searchOnEditorModification
. Enabling this option will make the search results in the search view automatically get updated as the user is modifying the editor.How to test
search.searchOnEditorModification
is onReview checklist
Reminder for reviewers
Signed-off-by: Duc Nguyen duc.a.nguyen@ericsson.com