Your component library
Although we don't spend much time writing comments in our code in this book, it's definitely a best practice to do so. This is especially true for Visualforce components because they are designed for reusability. If you and your colleagues don't want to reinvent the wheel, then you need to provide descriptive information about your components. Fortunately, there's a built-in Description
attribute in components just for this purpose. You can access this Description
attribute on the metadata of the component. In case you don't remember from Chapter 1, Apex Assumptions and Comparisons, the metadata for a file is accessed in the IDE via the Metadata tab at the bottom of the editor, as shown in the following screenshot:
Once you've provided a useful description for all of your components, you and your fellow developers can browse through the list of components from inside the Force.com GUI, as follows:
Click on the Setup link at the top of the Force.com GUI.
Navigate to Developer...