-
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] The search should not run when input
does not change
#7346
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Or we could not run the query when the input does not change. Can we do that instead of debouncing and cancellation? |
true, we should not trigger search at all |
What btw should happen if there are new files? Does search automatically adjust or one has to press enter to rerun. In this case disabling rerunning will break. |
We have to do what VS Code does; it does not update the search results on new file creation. Which is what I would expect as a user. |
I'll close the pre-existing issue in favor of this one since it has additional discussions: |
But I see that VS Code runs search again if I press enter and then it finds new results. For changed selection it is for sure bogus though. |
I didn't say it does not re-run the query when you hit enter, I said:
I meant automatically. |
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Fixes: #7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Fixes: eclipse-theia#7346 Runs a search query only when there is a change in the input field Signed-off-by: Anas Shahid <[email protected]>
Description
We run the SIW each time the "selection"? changes in the SIW
input
. It's a bug.Reproduction Steps
Write something into the SIW
input
change the cursor location, try toSelect All
(if you are not in electron).OS and Theia version:
Diagnostics:
The text was updated successfully, but these errors were encountered: