๐Ÿ“ฆ microsoft / vscode

๐Ÿ“„ package.json ยท 179 lines
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{
  "name": "merge-conflict",
  "publisher": "vscode",
  "displayName": "%displayName%",
  "description": "%description%",
  "icon": "media/icon.png",
  "version": "1.0.0",
  "license": "MIT",
  "aiKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
  "engines": {
    "vscode": "^1.5.0"
  },
  "categories": [
    "Other"
  ],
  "capabilities": {
    "virtualWorkspaces": true,
    "untrustedWorkspaces": {
      "supported": true
    }
  },
  "activationEvents": [
    "onStartupFinished"
  ],
  "main": "./out/mergeConflictMain",
  "browser": "./dist/browser/mergeConflictMain",
  "scripts": {
    "compile": "gulp compile-extension:merge-conflict",
    "watch": "gulp watch-extension:merge-conflict"
  },
  "contributes": {
    "commands": [
      {
        "category": "%command.category%",
        "title": "%command.accept.all-current%",
        "original": "Accept All Current",
        "command": "merge-conflict.accept.all-current",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.all-incoming%",
        "original": "Accept All Incoming",
        "command": "merge-conflict.accept.all-incoming",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.all-both%",
        "original": "Accept All Both",
        "command": "merge-conflict.accept.all-both",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.current%",
        "original": "Accept Current",
        "command": "merge-conflict.accept.current",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.incoming%",
        "original": "Accept Incoming",
        "command": "merge-conflict.accept.incoming",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.selection%",
        "original": "Accept Selection",
        "command": "merge-conflict.accept.selection",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.accept.both%",
        "original": "Accept Both",
        "command": "merge-conflict.accept.both",
        "enablement": "!isMergeEditor"
      },
      {
        "category": "%command.category%",
        "title": "%command.next%",
        "original": "Next Conflict",
        "command": "merge-conflict.next",
        "enablement": "!isMergeEditor",
        "icon": "$(arrow-down)"
      },
      {
        "category": "%command.category%",
        "title": "%command.previous%",
        "original": "Previous Conflict",
        "command": "merge-conflict.previous",
        "enablement": "!isMergeEditor",
        "icon": "$(arrow-up)"
      },
      {
        "category": "%command.category%",
        "title": "%command.compare%",
        "original": "Compare Current Conflict",
        "command": "merge-conflict.compare",
        "enablement": "!isMergeEditor"
      }
    ],
    "menus": {
      "scm/resourceState/context": [
        {
          "command": "merge-conflict.accept.all-current",
          "when": "scmProvider == git && scmResourceGroup == merge",
          "group": "1_modification"
        },
        {
          "command": "merge-conflict.accept.all-incoming",
          "when": "scmProvider == git && scmResourceGroup == merge",
          "group": "1_modification"
        }
      ],
      "editor/title": [
        {
          "command": "merge-conflict.previous",
          "group": "navigation@1",
          "when": "!isMergeEditor && mergeConflictsCount && mergeConflictsCount != 0"
        },
        {
          "command": "merge-conflict.next",
          "group": "navigation@2",
          "when": "!isMergeEditor && mergeConflictsCount && mergeConflictsCount != 0"
        }
      ]
    },
    "configuration": {
      "title": "%config.title%",
      "properties": {
        "merge-conflict.codeLens.enabled": {
          "type": "boolean",
          "description": "%config.codeLensEnabled%",
          "default": true
        },
        "merge-conflict.decorators.enabled": {
          "type": "boolean",
          "description": "%config.decoratorsEnabled%",
          "default": true
        },
        "merge-conflict.autoNavigateNextConflict.enabled": {
          "type": "boolean",
          "description": "%config.autoNavigateNextConflictEnabled%",
          "default": false
        },
        "merge-conflict.diffViewPosition": {
          "type": "string",
          "enum": [
            "Current",
            "Beside",
            "Below"
          ],
          "description": "%config.diffViewPosition%",
          "enumDescriptions": [
            "%config.diffViewPosition.current%",
            "%config.diffViewPosition.beside%",
            "%config.diffViewPosition.below%"
          ],
          "default": "Current"
        }
      }
    }
  },
  "dependencies": {
    "@vscode/extension-telemetry": "^0.9.8"
  },
  "devDependencies": {
    "@types/node": "22.x"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/microsoft/vscode.git"
  }
}