-
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] Typing into the files to include, exclude fields do not re-trigger the search #9150
Comments
Can I do this project Plz. |
@AbhiSahane0 please go ahead 👍: theia/packages/search-in-workspace/src/browser/search-in-workspace-widget.tsx Lines 531 to 554 in b972e2b
|
sir what to do with 'onKeyUp={e => { ' |
@AbhiSahane0 you'll likely need to modify this handler when creating the glob fields (include and exclude) so that they search on input rather than wait for an Enter key to be pressed (similarly to the actual search input). The logic to split the input (on commas) should be preserved to support globs. |
So, should I remove the if else part so that user directly go for input |
@AbhiSahane0 I believe there is enough information in the issue (including comments) in order to get started on a fix. Remember that we now want to trigger searching when users type into the inputs (similarly to the search) but want to preserve logic that does the comma split to support passing multiple glob patterns (which is already present but needs to be slightly modified). |
Closes eclipse-theia#9150. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Thank you so much for your assistance, @AbhiSahane0. I really needed the fix, so here is the PR: #9183 Please chime-in and propose any changes if you do not like my approach. Thanks! |
Closes eclipse-theia#9150. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Closes #9150. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
Bug Description:
The result in the SIW is not updated when changing the include/exclude fields. I have to press enter to rerun the search. It works from VS Code.
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: