Set associations

Associations enable you to associate an item type with a particular file extension when creating items.

For example, if you enter build\src\main.c as a project filename and you have associated c with Item Type SRC in the Associations tab of the Preferences dialog box, item type SRC will be automatically chosen for the newly created item.

Note: This file extension mapping is only used if no upload rules are defined. If there is an upload rule that matches the file extension (even the default % rule), the item type matching the upload rule is used instead.

To add an association:

  1. In the desktop client, select Tools > Preferences.

  2. In the Preferences dialog box, select the Associations tab.

  3. In the Add Association section, specify a file extension, for example, JAVA, and select the item type. Click Add.

  4. Click OK to the Preferences dialog box.

To remove an existing association:

  1. In the desktop client, select Tools > Preferences.

  2. In the Preferences dialog box, select the Associations tab.

  3. In the list of associations, select the associations to remove.

  4. Click Remove.

  5. Click OK to the Preferences dialog box.

Back to top

See also: