-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
181 lines (180 loc) · 4.58 KB
/
package.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "terminal-macros",
"displayName": "Terminal Macros",
"description": "Use the terminal without using the terminal",
"version": "1.0.15",
"publisher": "rob-bennett",
"repository": {
"type": "git",
"url": "https://github.com/RobbyCBennett/VSCodeTerminalMacros.git"
},
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Debuggers",
"Keymaps",
"Other"
],
"keywords": [
"Terminal",
"Command",
"Execute",
"Macro",
"Shortcut"
],
"icon": "icon.png",
"activationEvents": [
"onCommand:terminalMacros.executeCommand"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "terminalMacros.listCommands",
"title": "Terminal Macros: List Commands"
}
],
"configuration": {
"title": "Terminal Macros",
"properties": {
"terminalMacros.default.save": {
"type": "boolean",
"default": true,
"description": "Whether to save the current file before inserting the command."
},
"terminalMacros.default.show": {
"type": "boolean",
"default": true,
"description": "Whether to show the terminal before inserting the command."
},
"terminalMacros.default.stop": {
"type": "boolean",
"default": false,
"description": "Whether to hit ctrl-c before inserting the command."
},
"terminalMacros.default.logout": {
"type": "boolean",
"default": false,
"description": "Whether to hit ctrl-d before inserting the command."
},
"terminalMacros.default.clear": {
"type": "boolean",
"default": true,
"description": "Whether to clear the screen before inserting the command."
},
"terminalMacros.default.execute": {
"type": "boolean",
"default": true,
"description": "Whether to run the command immediately."
},
"terminalMacros.default.focus": {
"type": "boolean",
"default": false,
"description": "Whether to focus on the terminal after inserting the command."
},
"terminalMacros.default.terminal": {
"type": "string",
"default": "",
"description": "Name of terminal to use"
},
"terminalMacros.commands": {
"type": "array",
"description": "A list of your favorite commands.",
"items": {
"type": [
"object"
],
"properties": {
"group": {
"type": "string",
"description": "Commands sharing the group name will be grouped together in the menu."
},
"name": {
"type": "string",
"description": "Name for the command. A human readable string which is rendered prominent."
},
"command": {
"type": "string",
"description": "The command to send to the terminal. Variables: {recent}, {file}, {paste}"
},
"save": {
"type": "boolean",
"description": "Whether to save the current file before inserting the command."
},
"show": {
"type": "boolean",
"description": "Whether to show the terminal before inserting the command."
},
"stop": {
"type": "boolean",
"description": "Whether to hit ctrl-c before inserting the command."
},
"logout": {
"type": "boolean",
"description": "Whether to hit ctrl-d before inserting the command."
},
"clear": {
"type": "boolean",
"description": "Whether to clear the screen before inserting the command."
},
"execute": {
"type": "boolean",
"description": "Whether to run the command immediately."
},
"focus": {
"type": "boolean",
"description": "Whether to focus on the terminal after inserting the command."
}
}
},
"default": [
{
"command": "echo Hello world"
},
{
"command": "{recent}",
"group": "General",
"name": "Last Command",
"save": true,
"show": true,
"stop": false,
"logout": false,
"clear": true,
"execute": true,
"focus": false,
"terminal": "bash"
},
{
"group": "General",
"name": "Run File",
"command": "./{file}"
},
{
"group": "General",
"name": "Paste",
"command": "{paste}"
},
{
"group": "General",
"name": "Full Path",
"command": "echo {path}"
},
{
"group": "General",
"name": "Execute Selected",
"command": "{selection}",
"execute": true
},
{
"group": "General",
"name": "Change Directory",
"command": "cd {directory}",
"execute": true
}
]
}
}
}
}
}