-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
206 lines (206 loc) · 6.82 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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{
"name": "code-fragments",
"displayName": "Code Fragments",
"description": "Save code fragments, and later easily insert them into source files.",
"version": "1.2.0",
"publisher": "markvincze",
"license": "SEE LICENSE IN LICENSE",
"repository": {
"type": "git",
"url": "https://github.com/markvincze/vscode-codeFragments.git"
},
"icon": "images/icon.png",
"galleryBanner": {
"color": "#282C34",
"theme": "dark"
},
"badges": [
{
"url": "https://travis-ci.org/markvincze/vscode-codeFragments.svg?branch=master",
"href": "https://travis-ci.org/markvincze/vscode-codeFragments",
"description": "Build Status"
}
],
"author": {
"name": "Mark Vincze",
"url": "https://blog.markvincze.com"
},
"engines": {
"vscode": "^1.18.0"
},
"categories": [
"Other"
],
"keywords": [
"toolbar",
"toolbox",
"fragments",
"presentation"
],
"activationEvents": [
"*",
"onCommand:saveSelectedCodeFragment",
"onView:codeFragments"
],
"main": "./out/src/extension",
"contributes": {
"views": {
"explorer": [
{
"id": "codeFragments",
"name": "Code Fragments"
}
]
},
"commands": [
{
"command": "codeFragments.saveSelectedCodeFragment",
"title": "Save selection as Code Fragment"
},
{
"command": "codeFragments.insertCodeFragment",
"title": "Insert Code Fragment"
},
{
"command": "codeFragments.deleteCodeFragment",
"title": "Delete Code Fragment"
},
{
"command": "codeFragments.renameCodeFragment",
"title": "Rename Code Fragment"
},
{
"command": "codeFragments.moveUpCodeFragment",
"title": "Move up"
},
{
"command": "codeFragments.moveDownCodeFragment",
"title": "Move down"
},
{
"command": "codeFragments.moveToTopCodeFragment",
"title": "Move to top"
},
{
"command": "codeFragments.moveToBottomCodeFragment",
"title": "Move to bottom"
},
{
"command": "codeFragments.exportFragments",
"title": "Export all fragments to Json",
"icon": {
"light": "images/icon-export-light.png",
"dark": "images/icon-export-dark.png"
}
},
{
"command": "codeFragments.importFragments",
"title": "Import fragments from Json",
"icon": {
"light": "images/icon-import-light.png",
"dark": "images/icon-import-dark.png"
}
},
{
"command": "codeFragments.deleteAllFragments",
"title": "Delete all fragments",
"icon": {
"light": "images/icon-delete-light.png",
"dark": "images/icon-delete-dark.png"
}
}
],
"configuration": [
{
"type": "object",
"title": "Code Fragments",
"properties": {
"codeFragments.askForNameOnCreate": {
"type": "boolean",
"default": false,
"description": "Prompt for specifying a name when creating a new fragment."
}
}
}
],
"menus": {
"commandPalette": [
{
"command": "codeFragments.insertCodeFragment",
"when": "never"
}
],
"editor/context": [
{
"command": "codeFragments.saveSelectedCodeFragment",
"when": "editorTextFocus"
}
],
"view/title": [
{
"command": "codeFragments.exportFragments",
"when": "view == codeFragments",
"group": "navigation@0"
},
{
"command": "codeFragments.importFragments",
"when": "view == codeFragments",
"group": "navigation@1"
},
{
"command": "codeFragments.deleteAllFragments",
"when": "view == codeFragments",
"group": "navigation@2"
}
],
"view/item/context": [
{
"command": "codeFragments.deleteCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.baseGroup"
},
{
"command": "codeFragments.renameCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.baseGroup"
},
{
"command": "codeFragments.moveUpCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.moveGroup"
},
{
"command": "codeFragments.moveDownCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.moveGroup"
},
{
"command": "codeFragments.moveToTopCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.moveGroup"
},
{
"command": "codeFragments.moveToBottomCodeFragment",
"when": "view == codeFragments",
"group": "codeFragments.viewItemContext.moveGroup"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"mocha": "^3.5.0",
"tslint": "^5.8.0",
"typescript": "^2.6.1",
"vscode": "^1.1.8"
}
}