+ Start a Discussion
dn6184dn6184 

Source Code Search

Hi,  

 

We would like to be able to search our apex class and trigger source code.   The purpose would be to locate code routines that might be useful in current work and to speed the resolution of bugs and other issues.  Please let me know if this is possible.  I wrote code to iterate through our apex class objects and found the source code line property on the object to contain obfuscated or truncated data.  Please let me know if there is any way to accomplish this.

 

Thanks, Dave

 

Best Answer chosen by Admin (Salesforce Developers) 
TopalovichTopalovich

Not sure if this is the type of hack you're looking for, but if you're looking for a text search mechanism, what we do is simply run a text search in TextPad against the metadata files that are saved to the local file system by Eclipse. It helps to find specific syntax / patterns, but obviously if you're looking for something like a cataloging mechanism with metadata / descriptive search you would need to set that up in a source code repository or other wiki-esque system.

 

 

Mike