Repository navigation
Expand file tree
/
Copy pathplugin.json
More file actions
71 lines (71 loc) · 6.13 KB
/
Copy pathplugin.json
File metadata and controls
71 lines (71 loc) · 6.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"id": "com.harrisonbooth.format-tools",
"name": "Format Tools",
"version": "0.7.0",
"description": "Finance-style formatting: color-code inputs, formulas and links, on a selection or a whole sheet; cycle number, date, percent and multiple formats, fill and font colors, borders, font sizes and alignment; apply named custom styles; unhide every row, column and sheet. Settings stay on this computer.",
"author": "Harrison Booth",
"apps": ["gridcraft"],
"run": { "command": "./format-tools.exe" },
"commands": [
{ "id": "colorCode", "label": "Color Code", "description": "Hard-coded numbers blue, formulas black, links to other sheets green, links to other files red", "params": "{}" },
{ "id": "colorCodeSheet", "label": "Color Code Sheet", "description": "Color code every used cell on this sheet: the first press selects the used range if it isn't selected yet, the next one colors it", "params": "{}" },
{ "id": "resetColors", "label": "Reset Colors", "description": "Set the selection's font color back to automatic", "params": "{}" },
{ "id": "cycleNumberFormat", "label": "Cycle Number Format", "description": "Step through your number formats (run again on the same cells for the next one)", "params": "{}" },
{ "id": "cycleDateFormat", "label": "Cycle Date Format", "description": "Step through your date formats", "params": "{}" },
{ "id": "cyclePercentFormat", "label": "Cycle Percent Format", "description": "Step through your percent formats", "params": "{}" },
{ "id": "cycleMultipleFormat", "label": "Cycle Multiple Format", "description": "Step through your multiple formats (0.0x)", "params": "{}" },
{ "id": "cycleFillColor", "label": "Cycle Fill Color", "description": "Step through your fill colors", "params": "{}" },
{ "id": "cycleFontColor", "label": "Cycle Font Color", "description": "Step through your font colors", "params": "{}" },
{ "id": "cycleBorder", "label": "Cycle Border", "description": "Bottom, thick bottom, totals (top + double bottom), outline, none", "params": "{}" },
{ "id": "cycleFontSize", "label": "Cycle Font Size", "description": "Step through your font sizes", "params": "{}" },
{ "id": "cycleAlignment", "label": "Cycle Alignment", "description": "Left, center, right", "params": "{}" },
{ "id": "applyStyle", "label": "Apply Style", "description": "Apply one of your named styles (number format, font, fill, border, alignment) in one step", "params": "{name}" },
{ "id": "cycleStyle", "label": "Cycle Style", "description": "Step through your named styles (run again on the same cells for the next one)", "params": "{}" },
{ "id": "unhideAll", "label": "Unhide All", "description": "Unhide every row and column on this sheet, including rows in collapsed groups; rows hidden by the sheet's AutoFilter stay filtered", "params": "{}" },
{ "id": "unhideAllSheets", "label": "Unhide All Sheets", "description": "Unhide every hidden and very hidden sheet, then return to the sheet you were on", "params": "{}" },
{ "id": "openSettings", "label": "Where Are My Settings?", "description": "Shows the path of the settings file", "params": "{}" }
],
"ui": {
"ribbon": [
{ "tab": "Format Tools", "group": "Color Coding", "buttons": [
{ "command": "colorCode", "icon": "format" },
{ "command": "colorCodeSheet", "icon": "sheet", "label": "Whole Sheet", "tooltip": "Color code every used cell on this sheet (press twice if the used range isn't selected)" },
{ "command": "resetColors", "icon": "delete", "size": "small" }
]},
{ "tab": "Format Tools", "group": "Numbers", "buttons": [
{ "command": "cycleNumberFormat", "icon": "sum", "label": "Number" },
{ "command": "cyclePercentFormat", "icon": "percent", "label": "Percent", "size": "small" },
{ "command": "cycleMultipleFormat", "icon": "calc", "label": "Multiple", "size": "small" },
{ "command": "cycleDateFormat", "icon": "calendar", "label": "Date", "size": "small" }
]},
{ "tab": "Format Tools", "group": "Cells", "buttons": [
{ "command": "cycleFillColor", "icon": "pen", "label": "Fill" },
{ "command": "cycleFontColor", "icon": "pen", "label": "Font Color", "size": "small" },
{ "command": "cycleBorder", "icon": "table", "label": "Border", "size": "small" },
{ "command": "cycleFontSize", "icon": "zoom", "label": "Font Size", "size": "small" },
{ "command": "cycleAlignment", "icon": "more", "label": "Align" }
]},
{ "tab": "Format Tools", "group": "Styles", "buttons": [
{ "command": "cycleStyle", "icon": "format", "label": "Cycle Style" },
{ "command": "applyStyle", "icon": "pen", "label": "Input", "tooltip": "Apply the Input style", "size": "small", "params": { "name": "Input" } },
{ "command": "applyStyle", "icon": "calc", "label": "Calculation", "tooltip": "Apply the Calculation style", "size": "small", "params": { "name": "Calculation" } },
{ "command": "applyStyle", "icon": "sum", "label": "Total", "tooltip": "Apply the Total style", "size": "small", "params": { "name": "Total" } },
{ "command": "applyStyle", "icon": "table", "label": "Header", "tooltip": "Apply the Header style", "size": "small", "params": { "name": "Header" } },
{ "command": "applyStyle", "icon": "percent", "label": "Percent", "tooltip": "Apply the Percent style", "size": "small", "params": { "name": "Percent" } },
{ "command": "applyStyle", "icon": "calc", "label": "Multiple", "tooltip": "Apply the Multiple style", "size": "small", "params": { "name": "Multiple" } }
]},
{ "tab": "Format Tools", "group": "Visibility", "buttons": [
{ "command": "unhideAll", "icon": "table", "label": "Unhide All" },
{ "command": "unhideAllSheets", "icon": "sheet", "label": "Unhide Sheets", "size": "small" }
]},
{ "tab": "Format Tools", "group": "Settings", "buttons": [
{ "command": "openSettings", "icon": "settings", "label": "Settings", "size": "small" }
]}
],
"menus": [
{ "menu": "cell", "command": "colorCode" },
{ "menu": "cell", "command": "cycleNumberFormat" },
{ "menu": "cell", "command": "cycleBorder" }
]
}
}