[SalesForce] Developer Console Search in Files

Is there a way to get the developer console to return results from Visualforce Components when using the Edit -> Search in Files feature?
I get VF pages, and Apex Classes, but not VF Components.

Best Answer

If you use something like the Chrome developer tools when running the "Search in Files" functionality you will see the REST API call going out to the web services.

https://na2.salesforce.com/services/data/v33.0/search/?q=FIND%20%7BFoo%7D%20IN%20ALL%20FIELDS%20RETURNING%20ApexClass(id%2C%20name%2C%20namespaceprefix%2C%20body)%2C%20ApexTrigger(id%2C%20name%2C%20namespaceprefix%2C%20body)%2C%20ApexPage(id%2C%20name%2C%20namespaceprefix%2C%20markup)%2C%20ApexComponent(id%2C%20name%2C%20namespaceprefix%2C%20markup)&_=1431996616461

After URL decoding the SOSL query is:

FIND {Foo} IN ALL FIELDS RETURNING ApexClass(id, name, namespaceprefix, body), ApexTrigger(id, name, namespaceprefix, body), ApexPage(id, name, namespaceprefix, markup), ApexComponent(id, name, namespaceprefix, markup)

ApexComponent is labelled "Visualforce Component", so in theory it should be searching the VF components as well.

I confirmed that it can indeed find known content in a VF Component. enter image description here

However, it was a bit hit and miss about what it would actually find. Other terms that I know appear in the markup didn't come back in the results.

As Mike commented, pulling down the metadata and then searching it locally with the tool of your choice may be the best option.