@codingame/monaco-vscode-multi-diff-editor-service-override 37.0.0 → 37.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-multi-diff-editor-service-override",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - multi-diff-editor service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "37.
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.2.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -23,7 +23,7 @@ import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscod
|
|
|
23
23
|
|
|
24
24
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
25
25
|
submenu: MenuId.DiffEditorViewSubmenu,
|
|
26
|
-
title: ( localize(
|
|
26
|
+
title: ( localize(14324, "Diff View")),
|
|
27
27
|
group: "1_diff",
|
|
28
28
|
order: 10,
|
|
29
29
|
when: ( ContextKeyExpr.and(( ActiveEditorContext.isEqualTo(MultiDiffEditor.ID)), ( IsSessionsWindowContext.toNegated())))
|
|
@@ -32,7 +32,7 @@ class GoToFileAction extends Action2 {
|
|
|
32
32
|
constructor() {
|
|
33
33
|
super({
|
|
34
34
|
id: "multiDiffEditor.goToFile",
|
|
35
|
-
title: ( localize2(
|
|
35
|
+
title: ( localize2(14325, "Open File")),
|
|
36
36
|
icon: Codicon.goToFile,
|
|
37
37
|
precondition: ( ActiveEditorContext.isEqualTo(MultiDiffEditor.ID)),
|
|
38
38
|
menu: {
|
|
@@ -75,7 +75,7 @@ class OpenMultiDiffEditorLayoutDebugAction extends Action2 {
|
|
|
75
75
|
this.ID = "multiDiffEditor.openLayoutDebug";
|
|
76
76
|
}
|
|
77
77
|
static {
|
|
78
|
-
this.TITLE = ( localize2(
|
|
78
|
+
this.TITLE = ( localize2(14326, "Open Multi Diff Editor Layout Debug State"));
|
|
79
79
|
}
|
|
80
80
|
constructor() {
|
|
81
81
|
super({
|
|
@@ -118,7 +118,7 @@ class GoToNextChangeAction extends Action2 {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: "multiDiffEditor.goToNextChange",
|
|
121
|
-
title: ( localize2(
|
|
121
|
+
title: ( localize2(14327, "Go to Next Change")),
|
|
122
122
|
icon: Codicon.arrowDown,
|
|
123
123
|
precondition: ( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)),
|
|
124
124
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
|
@@ -148,7 +148,7 @@ class GoToPreviousChangeAction extends Action2 {
|
|
|
148
148
|
constructor() {
|
|
149
149
|
super({
|
|
150
150
|
id: "multiDiffEditor.goToPreviousChange",
|
|
151
|
-
title: ( localize2(
|
|
151
|
+
title: ( localize2(14328, "Go to Previous Change")),
|
|
152
152
|
icon: Codicon.arrowUp,
|
|
153
153
|
precondition: ( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)),
|
|
154
154
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
|
@@ -178,7 +178,7 @@ class CollapseAllAction extends Action2 {
|
|
|
178
178
|
constructor() {
|
|
179
179
|
super({
|
|
180
180
|
id: "multiDiffEditor.collapseAll",
|
|
181
|
-
title: ( localize2(
|
|
181
|
+
title: ( localize2(14329, "Collapse All Diffs")),
|
|
182
182
|
icon: Codicon.collapseAll,
|
|
183
183
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)), ContextKeyExpr.not("multiDiffEditorAllCollapsed"))),
|
|
184
184
|
menu: [
|
|
@@ -226,7 +226,7 @@ class ExpandAllAction extends Action2 {
|
|
|
226
226
|
constructor() {
|
|
227
227
|
super({
|
|
228
228
|
id: "multiDiffEditor.expandAll",
|
|
229
|
-
title: ( localize2(
|
|
229
|
+
title: ( localize2(14330, "Expand All Diffs")),
|
|
230
230
|
icon: Codicon.expandAll,
|
|
231
231
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)), ( ContextKeyExpr.has("multiDiffEditorAllCollapsed")))),
|
|
232
232
|
menu: [
|
package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js
CHANGED
|
@@ -27,7 +27,7 @@ registerWorkbenchContribution2(
|
|
|
27
27
|
WorkbenchPhase.BlockStartup
|
|
28
28
|
);
|
|
29
29
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
30
|
-
EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(
|
|
30
|
+
EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(14332, "Multi Diff Editor"))),
|
|
31
31
|
[( new SyncDescriptor(MultiDiffEditorInput))]
|
|
32
32
|
);
|
|
33
33
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(MultiDiffEditorInput.ID, MultiDiffEditorSerializer);
|