-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
201 lines (201 loc) · 5.49 KB
/
package.json
File metadata and controls
201 lines (201 loc) · 5.49 KB
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
{
"name": "meld-diff",
"version": "1.5.1",
"displayName": "Meld Diff",
"description": "Use meld (or other tools like WinMerge, Beyond Compare, ...) to compare files, folders, clipboard or git changes from visual studio code directly.",
"publisher": "danielroedl",
"author": "danielroedl",
"icon": "images/icon.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/danielroedl/vsc-meld-diff"
},
"keywords": [
"Diff",
"Compare",
"Meld",
"WinMerge",
"Beyondcompare",
"Beyond-compare",
"git",
"merge-conflict",
"clipboard"
],
"bugs": {
"url": "https://github.com/danielroedl/vsc-meld-diff/issues"
},
"homepage": "https://github.com/danielroedl/vsc-meld-diff",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "meld-diff.diffVisible",
"title": "Compare all visible documents (two or three) using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffCurrentToOtherOpen",
"title": "Compare current file with one other open file in editor using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffCurrentToOther",
"title": "Compare current file with one other file (not open in editor) using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffWithClipboard",
"title": "Compare with clipboard using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.openFromDiffView",
"title": "Open diff view in meld",
"enablement": "isInDiffEditor",
"category": "Meld Diff",
"icon": "$(diff)"
},
{
"command": "meld-diff.diffSavedVersion",
"title": "Compare current file with saved version using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffFromFileListSelect",
"title": "Select for meld compare",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffFromFileList",
"title": "Compare with selected for meld compare",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffFromFileListMultiple",
"title": "Compare all selected files/folders using meld",
"category": "Meld Diff"
},
{
"command": "meld-diff.diffScm",
"title": "Open with meld diff (git scm)",
"category": "Meld Diff"
}
],
"menus": {
"explorer/context": [
{
"command": "meld-diff.diffFromFileListSelect",
"group": "Meld Diff@1",
"when": "! listMultiSelection && filesExplorerFocus"
},
{
"command": "meld-diff.diffFromFileList",
"group": "Meld Diff@2",
"when": "meld-diff.FileSelectedForMeldDiff && ! listMultiSelection && filesExplorerFocus"
},
{
"command": "meld-diff.diffFromFileListMultiple",
"group": "Meld Diff@3",
"when": "listMultiSelection && filesExplorerFocus"
}
],
"editor/title/context": [
{
"command": "meld-diff.diffFromFileListSelect",
"group": "Meld Diff@1"
},
{
"command": "meld-diff.diffFromFileList",
"group": "Meld Diff@2"
},
{
"command": "meld-diff.diffSavedVersion",
"group": "Meld Diff@3"
}
],
"editor/context": [
{
"command": "meld-diff.diffWithClipboard",
"group": "Meld Diff@1",
"when": "editorTextFocus"
}
],
"editor/title": [
{
"command": "meld-diff.openFromDiffView",
"when": "isInDiffEditor",
"group": "navigation"
}
],
"scm/resourceState/context": [
{
"command": "meld-diff.diffScm",
"when": "scmProvider == git"
}
]
},
"configuration": {
"title": "Meld Diff",
"properties": {
"meld-diff.diffCommand": {
"type": "string",
"default": "meld",
"description": "The command to use for compare. Could be a absolute path."
},
"meld-diff.diffArgumentsTwoWay": {
"type": "string",
"default": "\"$1\" \"$2\"",
"description": "The arguments given to the Diff Command for two way diff.\n($1 is the first and $2 is the second file)"
},
"meld-diff.diffArgumentsThreeWay": {
"type": "string",
"default": "\"$1\" \"$2\" \"$3\"",
"description": "The arguments given to the Diff Command for three way diff.\n($1 is the first, $2 is the second file and $3 is the third file)"
},
"meld-diff.cleanUpTempFilesOnCodeClose": {
"type": "boolean",
"default": true,
"description": "Temporary files (created for clipboard or unsaved comparison) are deleted if visual studio code is closed before meld"
},
"meld-diff.suppressErrorMessageWhenExitCodeNotZero": {
"type": "boolean",
"default": false,
"description": "Suppress error message when exit code of diff command is greater than 0. Useful if diff program ends with error code by default (e. g. Beyond Compare)!\nError messages are still logged in Output tab."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^10.0.1",
"@types/node": "^10.17.60",
"@types/vscode": "^1.76.0",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"glob": "^7.2.3",
"mocha": "^10.2.0",
"typescript": "^5.0.2",
"vscode-test": "^1.6.1"
},
"dependencies": {
"child_process": "^1.0.2",
"simple-git": "^3.17.0",
"stream-equal": "^2.0.1"
}
}