Configure external tools
Configure external tools in Unity Version Control configuration files.
Read time 1 minuteLast updated 21 days ago
Use the
externaltools.conf- Controlled and private items in the Workspace Explorer tab.
- The Pending Changes tab
- The History view (Windows only)
- The Branches tab
- The Changesets tab
- The Labels tab
- The History side panel (only GTK and macOS)
Create the externaltools.conf
file
Create the externaltools.confexternaltools.conf- In the repository under
plastic-global-configso that all clients have the same settings by default./externaltools/externaltools.conf - In your client installation directory.
- In the directory:
plastic4- Windows: under
C:\Users\<em>user</em>\AppData\Local\plastic4 - Linux or macOS: under
$HOME/.plastic4
- Windows: under
Syntax
Use the following syntax for theexternaltools.conf<objectType>[:<objectType>[...]] | <toolName> | <actionToRun> | <args>
Parameters
Parameter | Description |
|---|---|
| The name of the target object. The object can be an item, label, changeset, or branch. To combine objects, use |
| The name of the tool you want the context menu to display. |
| The path or environment variable:
|
| The arguments line to pass to the target application. There are three supported placeholders:
|
externaltools.conf
file example
Refer to the following example of a valid externaltools.confexternaltools.confitem | Open with sublime | C:\Program Files\Sublime Text 3\subl.exe | "@object"label:changeset:branch | Create new code review... | /usr/bin/createcodereview | "@object@@repository" @wkpathitem | Preview with PhotoScape | %PHOTOSCAPE_PATH% | "@object"