-
Notifications
You must be signed in to change notification settings - Fork 193
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 while you type... #878
Comments
Some ideas where collected already here: |
Adds a search filter to search result View after first search. Press ENTER to get into the fine grained search Dialog. Providers have to implement IResearchQuery + some multithreading hardening of the search which pop up under that heavy load.
The use-case demonstrated in the report is not realistic, it would be nice to get a concrete existing user-story that would really emphasize on what the proposal would resolve much better. For example, the 1st one, there is already have a "Re-run the current search" button that can cover this. Also the suggested approach seems to mostly work for Text Search, while there are other Search types one would also want to make more efficient. |
I want to search for "a" and then for "b"-- rerun does not help without changing the text i am trying to search. the implementation actually uses the research button - but changes the search text before doing so. Its's a pitty you rate a proposal without even trying it out. Filtering input is a very common concept from other views so to me it feels very natural and intuitive.
All other providers just need to implement this too - that's very simple: String getSearchString(); |
OK, and do you usually use Ctrl+F or Ctrl+H or Ctrl+Alt+Shift+L or ... to do so? Ie do you need integration with search view or is it more about incremental search? Because those are different beasts so far (although there is now "Select All" on the Ctrl+F dialog which has gotten them closer functionally for single files). |
Ctrl+H does open the latest search provider used. File search is not different from Git search or Java search. It's just usually the 1st one in the CTabFolder so the one that's 1st visible. I'll try the proposal, but I still think that several not-so-technically-related problems are attempted to be solved at once: improve search workflow without a mouse (eg a button to open the search dialog and/or adding a search field to start a test search on current file from the view), and making some search incremental. I would rather see those issues covered in separate patches, to facilitate reviews and make faster progress, so if you can reorganize eclipse-platform/eclipse.platform.text#81 in 2 separate PRs, it would be helpful. |
I dislike to need to open search dialog again and again. I dislike to press OK.
Idea: add a search input field to the search result view (like the filter in the error log). the value entered is shared with the fine grained search dialog.
I made a short proof of concept and would like to get feedback:
The text was updated successfully, but these errors were encountered: