-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
277 lines (277 loc) · 7.91 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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
{
"name": "vscode-sublime-merge",
"displayName": "Sublime Merge for VSCode",
"description": "Open repository, file history, blame, etc.",
"version": "1.4.1",
"license": "MIT",
"author": {
"name": "Giovanni Derks"
},
"publisher": "giovdk21",
"homepage": "https://github.com/giovdk21/vscode-sublime-merge",
"repository": {
"type": "git",
"url": "https://github.com/giovdk21/vscode-sublime-merge.git"
},
"icon": "icon.png",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Other"
],
"keywords": [
"sublime merge",
"git",
"blame",
"log",
"history"
],
"extensionDependencies": [
"vscode.git"
],
"extensionKind": [
"ui"
],
"activationEvents": [
"workspaceContains:.git",
"workspaceContains:**/.gitignore",
"workspaceContains:**/.git/config"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "vscsm.openInSublimeMerge",
"title": "Open repository in Sublime Merge"
},
{
"command": "vscsm.blameInSublimeMerge",
"title": "Blame in Sublime Merge"
},
{
"command": "vscsm.fileHistoryInSublimeMerge",
"title": "File history in Sublime Merge"
},
{
"command": "vscsm.lineHistoryInSublimeMerge",
"title": "Line history in Sublime Merge"
},
{
"command": "vscsm.myCommitsInSublimeMerge",
"title": "Show my commits in Sublime Merge"
}
],
"menus": {
"commandPalette": [
{
"command": "vscsm.openInSublimeMerge",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
},
{
"command": "vscsm.blameInSublimeMerge",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
},
{
"command": "vscsm.fileHistoryInSublimeMerge",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
},
{
"command": "vscsm.lineHistoryInSublimeMerge",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
},
{
"command": "vscsm.myCommitsInSublimeMerge",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
}
],
"editor/context": [
{
"command": "vscsm.openInSublimeMerge",
"when": "config.vscsm.showMenu.openInSublimeMerge && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@1"
},
{
"command": "vscsm.fileHistoryInSublimeMerge",
"when": "config.vscsm.showMenu.fileHistoryInSublimeMerge == 'always' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@2"
},
{
"command": "vscsm.fileHistoryInSublimeMerge",
"when": "!editorHasSelection && config.vscsm.showMenu.fileHistoryInSublimeMerge == 'withoutSelection' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@2"
},
{
"command": "vscsm.lineHistoryInSublimeMerge",
"when": "config.vscsm.showMenu.lineHistoryInSublimeMerge == 'always' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@3"
},
{
"command": "vscsm.lineHistoryInSublimeMerge",
"when": "editorHasSelection && config.vscsm.showMenu.lineHistoryInSublimeMerge == 'withSelection' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@3"
},
{
"command": "vscsm.myCommitsInSublimeMerge",
"when": "config.vscsm.showMenu.myCommitsInSublimeMerge == 'always' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@4"
},
{
"command": "vscsm.myCommitsInSublimeMerge",
"when": "!editorHasSelection && config.vscsm.showMenu.myCommitsInSublimeMerge == 'withoutSelection' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@4"
},
{
"command": "vscsm.blameInSublimeMerge",
"when": "config.vscsm.showMenu.blameInSublimeMerge == 'always' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@5"
},
{
"command": "vscsm.blameInSublimeMerge",
"when": "editorHasSelection && config.vscsm.showMenu.blameInSublimeMerge == 'withSelection' && config.git.enabled && gitOpenRepositoryCount != 0",
"group": "vscode_sublmerge@5"
}
]
},
"configuration": {
"title": "Sublime Merge for VSCode",
"properties": {
"vscsm.showInStatusBar": {
"type": "boolean",
"default": true,
"description": "Set to false to disable the Sublime Merge for VSCode status bar item"
},
"vscsm.showBranchName": {
"type": "boolean",
"default": false,
"description": "If enabled, it will also show the current branch name in the status bar"
},
"vscsm.statusBarItemPosition": {
"type": "string",
"default": "right",
"enum": [
"left",
"right"
],
"description": "Position of the status bar item (requires restart)"
},
"vscsm.showMenu.openInSublimeMerge": {
"type": "boolean",
"default": true,
"description": "Show the \"Open repository in Sublime Merge\" command in the contextual menu"
},
"vscsm.showMenu.fileHistoryInSublimeMerge": {
"type": "string",
"default": "always",
"enum": [
"always",
"withoutSelection",
"never"
],
"enumDescriptions": [
"Always show",
"Show only when no text is selected",
"Don't show"
],
"description": "Show the \"File history in Sublime Merge\" command in the contextual menu"
},
"vscsm.showMenu.myCommitsInSublimeMerge": {
"type": "string",
"default": "always",
"enum": [
"always",
"withoutSelection",
"never"
],
"enumDescriptions": [
"Always show",
"Show only when no text is selected",
"Don't show"
],
"description": "Show the \"Show my commits in Sublime Merge\" command in the contextual menu"
},
"vscsm.showMenu.lineHistoryInSublimeMerge": {
"type": "string",
"default": "always",
"enum": [
"always",
"withSelection",
"never"
],
"enumDescriptions": [
"Always show",
"Show only when some text is selected",
"Don't show"
],
"description": "Show the \"Line history in Sublime Merge\" command in the contextual menu"
},
"vscsm.showMenu.blameInSublimeMerge": {
"type": "string",
"default": "always",
"enum": [
"always",
"withSelection",
"never"
],
"enumDescriptions": [
"Always show",
"Show only when some text is selected",
"Don't show"
],
"description": "Show the \"Blame in Sublime Merge\" command in the contextual menu"
},
"vscsm.smergeExecutablePath": {
"type": [
"string",
"object"
],
"description": "Allows to specify the full path to the \"smerge\" executable",
"properties": {
"linux": {
"type": "string",
"description": "Full path to the \"smerge\" executable on Linux"
},
"osx": {
"type": "string",
"description": "Full path to the \"smerge\" executable on macOS"
},
"windows": {
"type": "string",
"description": "Full path to the \"smerge\" executable on Windows"
}
}
},
"vscsm.debug": {
"type": "boolean",
"default": false,
"description": "Set to true to enable debug mode (requires restart)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.95.0",
"@types/mocha": "^10.0.9",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.10.0",
"@typescript-eslint/parser": "^8.7.0",
"eslint": "^9.13.0",
"typescript": "^5.6.3",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
},
"__metadata": {
"id": "d50227e3-7792-4230-8c3b-d92c0c67d4f0",
"publisherDisplayName": "Giovanni Derks",
"publisherId": "802ea28b-f3d9-48b1-8382-3b73caa492b8",
"isPreReleaseVersion": false
}
}