Using the Versioning Toolbar

The IDE's version control support includes a Versioning Toolbar, which you can use to run common version control commands.

To view the Versioning toolbar:

Versioning toolbar buttons execute a different command for each type of version control system in the IDE. When you select nodes from two filesystems mounted with different VCS profiles, the toolbar buttons run a separate command for each profile. You can see what command a button executes by holding the pointer over the button and reading the tool tip.

The following table lists each Versioning toolbar button's standard command for each version control profile:

Toolbar
Button
CVS Command PVCS Command VSS Command
VCS Update Icon Update Get Check Out
VCS Commit Icon Commit Put Check In
VCS Add Icon Add Add Add
VCS Remove Icon Remove Remove Remove
VCS Diff Icon Diff Diff Diff
VCS History Icon Log Status History

Adding Toolbar Buttons for the Built-in CVS Client

The built-in CVS client contains an additional set of buttons, which you can add to the Versioning toolbar. These buttons do not work for filesystems mounted using generic VCS support.

To add an action button to the Versioning toolbar:

  1. Choose Tools and choose Options from the main window.
  2. Expand IDE Configuration | Look and Feel | Actions | Versioning | CVS Client.
  3. Right-click the command you want to add and choose Copy. You can choose from the following commands:
  4. In the Look and Feel node, expand Toolbars | Versioning.
  5. Right-click the Versioning node and choose Paste and choose Copy. The button appears in the Versioning toolbar.

Changing a Toolbar Button's Command for Generic VCS Filesystems

  1. Right-click a generic VCS filesystem's icon in the Explorer and choose Customize. You cannot change toolbar commands for built-in CVS client filesystems.
  2. In the Advanced tab of the customizer, click Edit Commands.
  3. Select the command you want to add to the Versioning toobar. In the Expert tab, click the General Command Action Class Name property and enter the class name of the toolbar button that you want to run the command. The class names for the Versioning toolbar buttons are as follows:
  4. Click the Gereral Command Action Display Name property and enter the tooltip description of the command.
  5. Click OK to exit the Command Editor.
  6. If you only want to save the change to the filesystem, click OK to exit the customizer. If you want to save the change to the VCS profile, do so using the Save As button in the Profile tab of the customizer.
See also
The Versioning Explorer
Calling Version Control Commands
Global Settings for VCS Filesystems
CVS Commands

Legal Notices