@codingame/monaco-vscode-multi-diff-editor-service-override 31.0.0 → 32.0.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": "
|
|
3
|
+
"version": "32.0.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": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "32.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -18,7 +18,7 @@ class GoToFileAction extends Action2 {
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super({
|
|
20
20
|
id: "multiDiffEditor.goToFile",
|
|
21
|
-
title: ( localize2(
|
|
21
|
+
title: ( localize2(11377, "Open File")),
|
|
22
22
|
icon: Codicon.goToFile,
|
|
23
23
|
precondition: ( ActiveEditorContext.isEqualTo(MultiDiffEditor.ID)),
|
|
24
24
|
menu: {
|
|
@@ -60,7 +60,7 @@ class GoToNextChangeAction extends Action2 {
|
|
|
60
60
|
constructor() {
|
|
61
61
|
super({
|
|
62
62
|
id: "multiDiffEditor.goToNextChange",
|
|
63
|
-
title: ( localize2(
|
|
63
|
+
title: ( localize2(11378, "Go to Next Change")),
|
|
64
64
|
icon: Codicon.arrowDown,
|
|
65
65
|
precondition: ( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)),
|
|
66
66
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
|
@@ -90,7 +90,7 @@ class GoToPreviousChangeAction extends Action2 {
|
|
|
90
90
|
constructor() {
|
|
91
91
|
super({
|
|
92
92
|
id: "multiDiffEditor.goToPreviousChange",
|
|
93
|
-
title: ( localize2(
|
|
93
|
+
title: ( localize2(11379, "Go to Previous Change")),
|
|
94
94
|
icon: Codicon.arrowUp,
|
|
95
95
|
precondition: ( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)),
|
|
96
96
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
|
@@ -120,7 +120,7 @@ class CollapseAllAction extends Action2 {
|
|
|
120
120
|
constructor() {
|
|
121
121
|
super({
|
|
122
122
|
id: "multiDiffEditor.collapseAll",
|
|
123
|
-
title: ( localize2(
|
|
123
|
+
title: ( localize2(11380, "Collapse All Diffs")),
|
|
124
124
|
icon: Codicon.collapseAll,
|
|
125
125
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)), ContextKeyExpr.not("multiDiffEditorAllCollapsed"))),
|
|
126
126
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
|
@@ -154,7 +154,7 @@ class ExpandAllAction extends Action2 {
|
|
|
154
154
|
constructor() {
|
|
155
155
|
super({
|
|
156
156
|
id: "multiDiffEditor.expandAll",
|
|
157
|
-
title: ( localize2(
|
|
157
|
+
title: ( localize2(11381, "Expand All Diffs")),
|
|
158
158
|
icon: Codicon.expandAll,
|
|
159
159
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.equals("activeEditor", MultiDiffEditor.ID)), ( ContextKeyExpr.has("multiDiffEditorAllCollapsed")))),
|
|
160
160
|
menu: ( [MenuId.EditorTitle, MenuId.CompactWindowEditorTitle].map(id => ({
|
package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditor.contribution.js
CHANGED
|
@@ -26,7 +26,7 @@ registerWorkbenchContribution2(
|
|
|
26
26
|
WorkbenchPhase.BlockStartup
|
|
27
27
|
);
|
|
28
28
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
29
|
-
EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(
|
|
29
|
+
EditorPaneDescriptor.create(MultiDiffEditor, MultiDiffEditor.ID, ( localize(11383, "Multi Diff Editor"))),
|
|
30
30
|
[( new SyncDescriptor(MultiDiffEditorInput))]
|
|
31
31
|
);
|
|
32
32
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(MultiDiffEditorInput.ID, MultiDiffEditorSerializer);
|