-
Notifications
You must be signed in to change notification settings - Fork 518
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
Redesign search dialog #416
Comments
The updated dialog window is always docked. I initially tried to make it floating and dockable, but there is an issue on OSX and Linux with getting focus to components on floating windows that have Another wxwidgets issue made it difficult to use wxComboBox components as they don't handle key events properly on OSX, which makes So far I've kept the current functionality, minus the ability to select from comboboxes, which I plan to compensate with suggestions from most-recently-used list in the text field. The added functionality:
|
@sladecraven, @kspes, @andrewstarks, @Fringale, @stuta, @easy82, @naturally, @pixeljetstream: I've been working on a complete search redesign and would welcome your feedback. All of you provided search related comments and suggestions in the past and I'd be interested in how the new search works for you. There were several goals for the redesign:
The last two items are still being worked on and should be available in few days, but other items are done and have been pushed to search-redesign branch. If you use ZBS cloned repo, you can do I also plan to add I combined The only thing that got "lost" in the redesign are the dropdowns as they have several (wxwidgets) issues/limitations associated with them (see my earlier comment in this ticket for details). I've tried to compensate in the
I've been using option 2 in other products and it works quite well, but I'm open to other suggestions. Give it a try when you get a chance and let me know your thoughts. Thanks! |
Hi Paul, Finnaly found some time to evaluate the new branch, here are my thoughts
Krešo |
@kspes, thank you for the feedback; good to hear it's working well for you! I'm almost done with showing results in a separate editor tab, which should be much more convenient as well.
I'll see what can be improved, but if it's a general search (not a binary file), there is probably not much I can do without drastically changing how the search is done.
Is it during find-in-files or the current file search? I'll check...
Yes, this information is not saved between sessions, but will be. I'm not sure how to show the custom filters as they are going to be in the history, but would you expect to show your filter or the default one? I can probably find the most-recently-used scope based on the the same project path and apply it (instead of the default value). Is that what you are looking for?
Yes, I'm thinking about several improvements. Let me know what you think may work better for your case... |
HI Paul, remembering the last filter used for each project would do fine in my as for Go to Files, I like those ideas! It's important to be able to define also, I know some devs that use .dat files to store tex configuration info, Krešo |
Right, what I have in mind should still work fine for that because it will be remember for each session (I'll keep track of extensions for binary files and if the same extension is detected twice, I'll skip it in the search). BTW, I can't reproduce the crash with quitting while searching. Is it during find-in-files? Do you simply close the application while the search is still happening? |
yeah, I do a cmd+q (mac) while searching and it crashes. here's a screenshot: Krešo |
Thanks; this is running the latest commit (2406863) in the search-redesign branch, right? |
@joe528, I added |
@kspes, I've made several improvements to file traversal that should improve performance in command bar and file searches. I've also added exclusion lists and binary file lists (#455) that you can extent to skip the files or folders you don't need searched. Give it a try and let me know if it's any better... |
Search results can be closed with a shortcut when shown as an editor tab, but not when shown in the Output notebook. Added closing them there as well for consistency.
This avoid the issue when the last line stays hidden after folding all lines in the search result tab and refreshing the results.
The search dialog is currently shown as a popup window, but it would be useful to (1) make it dockable, (2) make it more compact, and (3) add support for incremental search.
Other search-related tickets: #398, #146, #162, #140, #132, #127, and #147.
The text was updated successfully, but these errors were encountered: