This repository was archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
External tools plugin
tt.kilew edited this page Jan 20, 2014
·
6 revisions
Example of configuration file that should be located at ~/.extools.cfg
{
"version": "0.1",
"tools": [
{
"name": "Echo",
"key": {
"character": "X",
"command": true,
"control": false,
"shift": true,
"option": false
},
"command": {
"line": "echo Hello world!",
"input": "none"
}
},
{
"name": "Dump Settings",
"key": {
"character": "X",
"command": true,
"control": false,
"shift": true,
"option": false
},
"command": {
"line": "/bin/cat",
"input": "json"
}
}
]
}
"version": "0.1"
Just a version of this file. It's useful to have one.
"tools": [ ... ]
Array of tools that will be placed under File/Remote tools menu item in Xcode
{
"name": "Dump Settings",
"key": {...},
"command": {...}
}
name - yep, this is tool name.
key - definition of the hot-key that will be associated with this tool
line - line that will be actually executed
input - one of the possible input types. Currently supported are : "none" - no input will be passed to the script, "json" - TBD