function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Eclipse and find in navigator

Does anybody know if there is a way to have Eclipse find an entry in the navigator based on highlighted text.


i.e. say I am viewing the source for a VF page which looks something like this:


<apex:page controller="MyPageController" sidebar="false" showHeader="false>




I would like to be able to look at the source for the controller.  Is there a way to highlight myPageController in the editor for the page and have Eclipse find the entry in the Navigator or open up the source code for the controller?  


With a large project (100+ classes), its time consuming to have to visually find it in the navigator each time.


Best Answer chosen by Admin (Salesforce Developers) 



Use File search. Copy the text u want to find in your project, press Ctrl+H and paste it. For File name patterns use *.cls, *.component, *.page, *.trigger, and use Workspace for the Scope.


Hope this helped,