Enabling the CVS resource decorations
When enabled, CVS will decorate resources in Workbench views with icon and
label decorations that indicate the CVS state of the resource.
To enable the CVS decorations:
- Open the
General > Appearance > Label Decorations
preference page. This page allows the enabling and disabling of all decorations
defined by different plug-ins in the Workbench.
- Click on the CVS box to enable the CVS decorations.
- Click OK.
Note: In some cases, the decorations may not appear immediately due
to the fact that they are expensive to compute. In those cases, they are calculated
in the background.
To configure the CVS decorations:
- Open the
Team > CVS > Label Decorations
preference page. This page allows the configuration of how decorations appear on CVS
projects, folders and files.
- To configure the text label decorations click the Text
tab and then:
- Pick the resource type (file, folder, project) for which you want to
change the decoration.
- Click in the decoration string for that resource type at the location
where the new decoration element should go.
- Click the Add Variables button for that resource type.
- Choose the CVS information variable to add. For instance, for files
you could select the added_flag which will be inserted in the decoration
where you placed the cursor. The string {added_flag} will be added
to the decoration string which will decorate newly added resources using
the added resource label (which can be set in the Label Decoration
for Added field).
- Repeat the above for any other decorations to be added.
- Decorations can be removed by deleting the decoration variable name (i.e.
{added_flag}) from the decoration string. In a similar manner, spacing
can be added.
- To configure icon decorations, click the Icon tab simply
enable/disable the icon checkboxes.
- Click OK or Apply for the new decorations to take effect.
Note: Under the General tab is an option to disable
the deep dirty decoration of folders. This will make decorator determination
more efficient but will make it harder to find dirty resources in one of the
navigation views. Under the Synchronize View tab, the Synchronize
view can be configured to show the synchronization state of a resource as part
of the text label displayed in the Structure Compare pane.
You can also change the color and font of items based on the item's CVS state.
To set the color and font:
- Open the
Team > CVS > Label Decorations
preference page.
- Check the box to Enable font and color decorations.
- Next, Open the
General > Appearance > Colors and Fonts preference page.
- In the CVS category are the various CVS states for which
you can set the colors and fonts. Set them as desired.
- You can return to the
Team > CVS > Label Decorations
preference page to preview the changes.
- Click OK or Apply for the new decorations to take effect.
Team programming with CVS
Synchronizing with a CVS repository
Checking out a project from a CVS repository
Sharing a new project using CVS
CVS
CVS Label Decorations