This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.json
109 lines (109 loc) · 2.69 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"identifier": "uk.eskola.shfmt",
"name": "Shfmt",
"organization": "Benjamin Eskola",
"description": "Automatic formatting of shell scripts with shfmt.",
"version": "1.1.0",
"categories": ["formatters", "commands"],
"repository": "https://github.com/benjamineskola/Shfmt.novaextension",
"bugs": "https://github.com/benjamineskola/Shfmt.novaextension/issues",
"license": "Apache-2.0",
"main": "main.js",
"activationEvents": ["onLanguage:shell"],
"entitlements": {
"process": true
},
"commands": {
"editor": [
{
"title": "Format with Shfmt",
"command": "formatWithShfmt",
"shortcut": "cmd-shift-F",
"filters": {
"syntaxes": ["shell"]
}
}
]
},
"config": [
{
"key": "uk.eskola.shfmt.executablePath",
"title": "Executable Path",
"description": "Path to the Shfmt executable.",
"type": "path",
"placeholder": "/usr/local/bin/shfmt",
"default": ""
},
{
"key": "uk.eskola.shfmt.commandArguments",
"title": "Command Arguments",
"description": "Additional arguments.",
"type": "string",
"default": null
},
{
"key": "uk.eskola.shfmt.formatOnSave",
"title": "Format on a file save",
"type": "boolean",
"default": true
},
{
"key": "uk.eskola.shfmt.indentation",
"title": "Indentation amount (blank for tabs)",
"type": "number",
"default": null
},
{
"key": "uk.eskola.shfmt.posix",
"title": "POSIX mode",
"type": "boolean",
"default": false
},
{
"key": "uk.eskola.shfmt.simplify",
"title": "Simplify the code",
"type": "boolean",
"default": false
}
],
"configWorkspace": [
{
"key": "uk.eskola.shfmt.executablePath",
"title": "Executable Path",
"description": "Path to the Shfmt executable.",
"type": "path",
"placeholder": "/usr/local/bin/shfmt",
"default": ""
},
{
"key": "uk.eskola.shfmt.commandArguments",
"title": "Command Arguments",
"description": "Additional arguments.",
"type": "string"
},
{
"key": "uk.eskola.shfmt.formatOnSave",
"title": "Format on a file save",
"type": "boolean",
"default": true
},
{
"key": "uk.eskola.shfmt.indentation",
"title": "Indentation amount (blank for tabs)",
"type": "number",
"default": null
},
{
"key": "uk.eskola.shfmt.posix",
"title": "POSIX mode",
"type": "boolean",
"default": false
},
{
"key": "uk.eskola.shfmt.simplify",
"title": "Simplify the code",
"type": "boolean",
"default": false
}
]
}