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 which 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 and expand Look and Feel and expand Actions and expand Versioning and expand 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 and expand 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

You can use the command editor to assign any command in a generic VCS profile to a Versioning toolbar button. You can apply the change to an individual filesystem or to the VCS profile itself. You cannot change toolbar commands for built-in CVS client filesystems.

To assign a command to a Versioning toolbar button:

  1. Right-click a generic VCS filesystem's icon in the Explorer and choose Customize.
  2. In the Advanced tab of the customizer, click Edit Commands.
  3. Select the command you want to add to the Versioning toolbar. In the Expert tab, click the General Command Action Class Name property and type the class name of the toolbar button that you want to run the command. The class names for the Versioning toolbar buttons are:
  4. Click the Gereral Command Action Display Name property and type the tool tip description of the command.
  5. Click OK to close the command editor.
  6. If you want to save the change only to the filesystem, click Close to close 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