How do I Search All on a project

Get help using Construct 2

Post » Mon Sep 18, 2017 11:42 pm

Maybe I missed it, but is there a way to do a search all on a project? I know you can search the current event sheet, but say I forget which event sheet a certain function might be in...can I search the whole project?

If not, any chance this gets added to C2?
Banned User
B
50
S
24
G
14
Posts: 637
Reputation: 12,503

Post » Tue Sep 19, 2017 4:53 am

You can save your project as a folder (not as a single file) and search all .XML files.
I'm using the good old Far Manager for this.

As far as I know this is the only way to search the entire project.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
17
S
9
G
129
Posts: 1,779
Reputation: 68,881

Post » Tue Sep 19, 2017 11:46 pm

dop2000 wrote:You can save your project as a folder (not as a single file) and search all .XML files.
I'm using the good old Far Manager for this.

As far as I know this is the only way to search the entire project.


ive actually tried this, however it is extremely hard to follow
Banned User
B
50
S
24
G
14
Posts: 637
Reputation: 12,503

Post » Wed Sep 20, 2017 1:06 am

It works for me. FAR gives me the list of event sheets where the search string was found. And then I open these sheets in C2 one by one and use C2 search.
Image

Did I help to fix a problem in your game? You can buy me a cup of coffee :) If you'd like to hire me, please see this post
B
17
S
9
G
129
Posts: 1,779
Reputation: 68,881

Post » Wed Sep 20, 2017 11:45 am

That works, but when you have dozens of event sheets with a match, it is not ideal. It also takes awhile to search very large projects.

Something so simple, should be build right into the program. Ideally, you could simply click the function and it would take you right to it. You should be able to easily see where it is used and implemented. This goes for all variables really.
Banned User
B
50
S
24
G
14
Posts: 637
Reputation: 12,503

Post » Wed Sep 20, 2017 12:23 pm

Sadly this is one of the biggest issues with C2. This has been fixed in c3 where you can search your entire project at once. But if I remember correctly it was too complicated to backport this feature for C2 unfortunately.

Image
B
61
S
26
G
16
Posts: 802
Reputation: 14,495


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], mikewalton206, ultrafop and 8 guests