
4 réponses
The new Developer Console (accessed as before from the <Your Name> link in your Force.com Org) has a brand new ‘Repository’ Tab (see screen shot above) where you can view, edit and even create new Apex classes and Triggers and view all the standard and custom Objects in your Org, all from a single browser window.
Repository tab is mainly used for understanding the related entities of any concerned apex code. In an organization, there could be thousands of apex classes through which the control navigates. Repository tab becomes handy in this situation where we can look and get to a particular related entity from a top level entity like a visualforce page.
For example, a visualforce page could be hooked up to a visualforce controller and that controller could be talking to around 5 or 6 apex classes. Now, how do we get to understand this relationship and get to a particular apex class in this relationship?
The screenshot shown below depicts a way to get to the related controller class where we have selected Pages as the Entity Type. Immediately, the Entities tab shows all the visualforce pages available in the organization. When we select a particular visualforce page, the related entities tab gets populated with classes hooked up with that visualforce page.
Hope this helps
Regards
Sachin