You need to sign in to do that
Don't have an account?

Global search for string in Apex code, triggers, etc.
Is there a way to perform a "global search" through all Apex code --- classes, triggers, etc.? For example, if I want to search for a specific block of code but don't remember what class it's in...
You can on Eclipse IDE.
You just need to load all the metadata you want to search in, pages, classes, triggers, and so.
Then press control+h there you'll find a dialog box where you can enter some code and it will search it in all your code.
All Answers
You can on Eclipse IDE.
You just need to load all the metadata you want to search in, pages, classes, triggers, and so.
Then press control+h there you'll find a dialog box where you can enter some code and it will search it in all your code.
Sweet! Thanks!
Name: Metadata Search
Link: https://appexchange.salesforce.com/listingDetail?listingId=a0N30000009wgF7EAI
They have an amazing feature which can help all customer for searching any metadata object (like classes, triggers, pages, roles, profiles etc) within the Salesforce Org.
Time Saving for developer like us also its very user friendly with the UI and can be easily setup.
I have 6 objects which have a common field(Business Unit field) but i have more objects in my org.. .i need to take backup only 6 object and its field. Now i need to take backup of all triggers, workflows,classes etc which are related to these objects and this field... i am trying to do in eclipse. Do you have any idea how to do it.
In case it's helpful, you can do the same thing in Visual Studio Code with the "Find in Files" function (Command Shift F on a Mac, probably CTL Shift F on PC).
For anyone else who has moved away from Eclipse, this will achieve the same thing as described in the "best answer" above. This is useful when looking for deprecated code in your codebase, eg <Apex:Flash>.