-
Notifications
You must be signed in to change notification settings - Fork 0
/
extension.json
71 lines (71 loc) · 1.86 KB
/
extension.json
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
{
"identifier": "net.ryanthomson.SortLines",
"name": "Sort Lines",
"organization": "Ryan Thomson",
"description": "Utility to quickly rearrange the selected lines.",
"version": "1.1",
"categories": ["commands"],
"repository": "https://github.com/r-thomson/SortLines.novaextension.git",
"bugs": "https://github.com/r-thomson/SortLines.novaextension/issues",
"license": "© Ryan Thomson",
"min_runtime": "11.0",
"main": "main.js",
"commands": {
"editor": [
{
"title": "Ascending",
"paletteTitle": "Sort Lines Ascending",
"command": "SortLines.sortLinesAsc",
"when": "editorHasFocus && editorHasSelection"
},
{
"title": "Descending",
"paletteTitle": "Sort Lines Descending",
"command": "SortLines.sortLinesDesc",
"when": "editorHasFocus && editorHasSelection"
},
{
"title": "Reverse Lines",
"command": "SortLines.reverseLines",
"when": "editorHasFocus && editorHasSelection"
},
{
"title": "Shuffle Lines",
"command": "SortLines.shuffleLines",
"when": "editorHasFocus && editorHasSelection"
}
]
},
"config": [
{
"key": "SortLines.ignoreWhitespace",
"title": "Ignore leading whitespace when sorting",
"type": "boolean",
"default": true
},
{
"key": "SortLines.caseOrder",
"title": "Case ordering",
"type": "enum",
"values": [
["lowerFirst", "Lowercase first (a < A)"],
["upperFirst", "Uppercase first (a > A)"]
],
"default": "lowerFirst"
},
{
"key": "SortLines.useNumericCollation",
"title": "Use natural ordering for numbers",
"description": "For example, “1” < “2” < “10”",
"type": "boolean",
"default": false
},
{
"key": "SortLines.smartCommas",
"title": "Smart commas",
"description": "If every line except the last ends in a comma, the same will be true after sorting",
"type": "boolean",
"default": false
}
]
}