Finding a specific reference efficiently

A question on searching a project, where you want to find a specific reference to something.
For example, say I have a property on a business object, and I want to find all the places it’s referenced (say in a method, in a page UI, etc.
If I do a search from the top of the page (global project search), I see many items across the project, many in generated items…
I can search more specifically across Page elements by using the search on the Pages page, but that doesn’t search Methods.
Is there a better way to search for something that’s been user specified (not generated) across all elements of the project? Or perhaps a way to filter (manually if needed) the project level search results to only see stuff that has user-provided stuff?

As you correctly summarized, there currently are two ways to search in Apex Designer. The one in the toolbar searches all the generated files in the project. As an aside, it can also search across all the projects (apps and libraries) that you have access to.

The second one is the search icon button on the User Interface page. This searches all the user provided content in that user interface (including methods).

Your suggestion for a kind of “metadata search” is a good one. Perhaps it could present the results similar to the branch status page.

For now, if you are trying to find something in a method of a user interface or a behavior on a business object, you can try a few tricks. If you are looking for references to a property name “weight”, try searching for “.weight”. That will filter out the numerous references to the property in model files, etc. If you get a hit in a TypeScript (.ts) file, you can click the Next Occurrence to jump to it and then scroll up to see what method or behavior it is contained in.

Hope that helps.