Search UI is painful

Discussion and feedback on Construct 2

Post » Wed Mar 16, 2016 8:16 am

Hi Construct 2 ;-)

Here's what I think about the search UI of Construct 2 ! Basically, each time I do a search, I lose 3 seconds to show the code around my search : type search, watch the line number, clear search filter, you're kicked to line 1, so you scroll back to the line number ... Repeating this hundreds of time a day while developping on Construct 2! Either i'm missing something (but I looked everywhere in the options), either I'm sharing this problem with many developpers on big projects and there could be very simple solutions, inspired from regular coding. And i'm pretty sure you all know how important search is, especially for big/huge projects ! I know you're already on Construct 3 and I hope these are already fixed .. But I share it anyway ;-)

- When you do a search, there's a filter on it. Please allow to search without filter : there's too often important code related to your search that is hidden ! It's major cause of mistakes when modifying while doing a research. A simple focus would be just fine !

- At least, when you clear the search filter, keep the focus on the line you're reading.

- Allow to search on every sheet. Splitting the code into sheets is great ! But sometimes you can't remember where you put something .. And you have to make a search in every single sheet.

I think these very simple features would make a huge time gain and comfort difference for any C2 developper ;-)

Best
B
8
S
4
Posts: 131
Reputation: 1,205

Post » Wed Mar 16, 2016 9:02 am

I understand your problem and I agree with your suggestions

Bookmarks can help you a little bit though

Search > Ctrl+F2 to place bookmarks > Esc to clear search > F2 to cycle through bookmarks, including your search results
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Wed Mar 16, 2016 9:19 am

I agree. The event filtering can be useful occasionally but most of the time it ends up confusing me.
I'd much rather use an 'ordinary' search which would just jump me to the searched string.
B
16
S
7
G
1
Posts: 161
Reputation: 3,131

Post » Wed Mar 16, 2016 9:34 am

keepee wrote:Bookmarks can help you a little bit though

Search > Ctrl+F2 to place bookmarks > Esc to clear search > F2 to cycle through bookmarks, including your search results


Already tried this method, as you can imagine ;-) It has several inconvenients :
- you need to clean it afterwards. All in all, it's just not as fast as "remember line number+scroll to after clear".
- it messes up your real bookmarks, if you have some

pirx wrote:I agree. The event filtering can be useful occasionally but most of the time it ends up confusing me.
I'd much rather use an 'ordinary' search which would just jump me to the searched string.


Exactly ! Simple jump, with buttons "next/previous found", as in most simple notepads. And eventually a list of bookmarks of all item founds in the project / folder, as in good developpement softwares ;-)
B
8
S
4
Posts: 131
Reputation: 1,205

Post » Wed Mar 16, 2016 9:53 am

>it's just not as fast as "remember line number+scroll

I agree it's not an ideal solution, but pressing F2 takes you instantly to the next bookmarks so you don't have to scroll. So it is still faster than scrolling to search results. Scrolling also gets slower with more events.
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Wed Mar 16, 2016 10:05 am

Actually you may be right. and I just deleted all my bookmarks to try this workaround.
B
8
S
4
Posts: 131
Reputation: 1,205

Post » Wed Mar 16, 2016 1:40 pm

+1

What I would like is a little box underneath the search feature that is a "Go to event number" option.

So after you do a normal search and find where you want to be, simply type the number and after the search is cleared the editor will jump straight to it.
ImageImage
B
130
S
23
G
7
Posts: 1,078
Reputation: 13,280

Post » Thu Apr 07, 2016 7:59 pm

I just wish it wouldn't lose my place when I clear the search.
B
41
S
12
G
14
Posts: 1,122
Reputation: 11,268

Post » Thu Apr 07, 2016 8:32 pm

keepee wrote:> pressing F2 takes you instantly to the next bookmarks so you don't have to scroll.

omg, didn't know about this... THANKS!

but +1 to clear the search and staying in the same place..
B
100
S
33
G
16
Posts: 1,204
Reputation: 16,865

Post » Thu Apr 07, 2016 11:09 pm

I brought this up in a feature request over a year ago:

feature-request-go-to-event_t126288

While searching the forums for my old post, here is another request from someone else.

viewtopic.php?f=146&t=129410&p=910020&hilit=C2+Search+Feature+Requests#p910020

There were others as well that I remember over the years, but I don't feel like looking for them.

I think the main issue is that people don't like losing their place when they clear a search.
B
81
S
30
G
35
Posts: 340
Reputation: 23,046


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests