@codingame/monaco-vscode-view-common-service-override 9.0.2 → 10.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/override/vs/workbench/browser/parts/editor/textEditor.weak.js +1 -1
- package/package.json +3 -3
- package/viewCommon.js +4 -1
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +1 -2
- package/vscode/src/vs/base/browser/ui/grid/grid.js +24 -34
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +34 -35
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.js +38 -0
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +65 -65
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +85 -85
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +74 -80
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +73 -69
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +21 -24
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +77 -59
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +9 -11
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +172 -173
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +16 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +55 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +19 -22
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +76 -65
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +37 -18
- package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +4 -5
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +20 -15
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +6 -10
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +31 -45
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +37 -40
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +18 -28
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +8 -8
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +2 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -2
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +3 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +2 -8
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +14 -15
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +0 -1
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +21 -21
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +9 -10
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +28 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +6 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +4 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +9 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +19 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +10 -9
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +9 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +26 -26
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +16 -17
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +3 -4
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +33 -36
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +18 -28
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +8 -8
- package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +7 -8
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +13 -15
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +3 -4
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -4
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +0 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +28 -30
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +71 -74
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +22 -26
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.js +0 -1
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +16 -18
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +9 -10
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { localize2 } from 'vscode/vscode/vs/nls';
|
|
2
|
-
import { GroupLocation, GroupDirection } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService';
|
|
3
2
|
import { IEditorGroupsService } from 'vscode/vscode/vs/workbench/services/editor/common/editorGroupsService.service';
|
|
4
|
-
import { Parts } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService';
|
|
5
3
|
import { IWorkbenchLayoutService } from 'vscode/vscode/vs/workbench/services/layout/browser/layoutService.service';
|
|
6
4
|
import { Action2, registerAction2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
7
5
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
8
|
-
import { Direction } from '../../../base/browser/ui/grid/grid.js';
|
|
9
|
-
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
10
6
|
import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
11
7
|
import { IPaneCompositePartService } from 'vscode/vscode/vs/workbench/services/panecomposite/browser/panecomposite.service';
|
|
12
|
-
import { ViewContainerLocation } from 'vscode/vscode/vs/workbench/common/views';
|
|
13
|
-
import { KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
14
8
|
import { getActiveWindow } from 'vscode/vscode/vs/base/browser/dom';
|
|
15
9
|
import { isAuxiliaryWindow } from 'vscode/vscode/vs/base/browser/window';
|
|
16
10
|
|
|
@@ -23,79 +17,79 @@ class BaseNavigationAction extends Action2 {
|
|
|
23
17
|
const layoutService = accessor.get(IWorkbenchLayoutService);
|
|
24
18
|
const editorGroupService = accessor.get(IEditorGroupsService);
|
|
25
19
|
const paneCompositeService = accessor.get(IPaneCompositePartService);
|
|
26
|
-
const isEditorFocus = layoutService.hasFocus(
|
|
27
|
-
const isPanelFocus = layoutService.hasFocus(
|
|
28
|
-
const isSidebarFocus = layoutService.hasFocus(
|
|
29
|
-
const isAuxiliaryBarFocus = layoutService.hasFocus(
|
|
20
|
+
const isEditorFocus = layoutService.hasFocus("workbench.parts.editor" );
|
|
21
|
+
const isPanelFocus = layoutService.hasFocus("workbench.parts.panel" );
|
|
22
|
+
const isSidebarFocus = layoutService.hasFocus("workbench.parts.sidebar" );
|
|
23
|
+
const isAuxiliaryBarFocus = layoutService.hasFocus("workbench.parts.auxiliarybar" );
|
|
30
24
|
let neighborPart;
|
|
31
25
|
if (isEditorFocus) {
|
|
32
26
|
const didNavigate = this.navigateAcrossEditorGroup(this.toGroupDirection(this.direction), editorGroupService);
|
|
33
27
|
if (didNavigate) {
|
|
34
28
|
return;
|
|
35
29
|
}
|
|
36
|
-
neighborPart = layoutService.getVisibleNeighborPart(
|
|
30
|
+
neighborPart = layoutService.getVisibleNeighborPart("workbench.parts.editor" , this.direction);
|
|
37
31
|
}
|
|
38
32
|
if (isPanelFocus) {
|
|
39
|
-
neighborPart = layoutService.getVisibleNeighborPart(
|
|
33
|
+
neighborPart = layoutService.getVisibleNeighborPart("workbench.parts.panel" , this.direction);
|
|
40
34
|
}
|
|
41
35
|
if (isSidebarFocus) {
|
|
42
|
-
neighborPart = layoutService.getVisibleNeighborPart(
|
|
36
|
+
neighborPart = layoutService.getVisibleNeighborPart("workbench.parts.sidebar" , this.direction);
|
|
43
37
|
}
|
|
44
38
|
if (isAuxiliaryBarFocus) {
|
|
45
|
-
neighborPart = neighborPart = layoutService.getVisibleNeighborPart(
|
|
39
|
+
neighborPart = neighborPart = layoutService.getVisibleNeighborPart("workbench.parts.auxiliarybar" , this.direction);
|
|
46
40
|
}
|
|
47
|
-
if (neighborPart ===
|
|
41
|
+
if (neighborPart === "workbench.parts.editor" ) {
|
|
48
42
|
if (!this.navigateBackToEditorGroup(this.toGroupDirection(this.direction), editorGroupService)) {
|
|
49
|
-
this.navigateToEditorGroup(this.direction ===
|
|
43
|
+
this.navigateToEditorGroup(this.direction === 3 ? 0 : 1 , editorGroupService);
|
|
50
44
|
}
|
|
51
45
|
}
|
|
52
|
-
else if (neighborPart ===
|
|
46
|
+
else if (neighborPart === "workbench.parts.sidebar" ) {
|
|
53
47
|
this.navigateToSidebar(layoutService, paneCompositeService);
|
|
54
48
|
}
|
|
55
|
-
else if (neighborPart ===
|
|
49
|
+
else if (neighborPart === "workbench.parts.panel" ) {
|
|
56
50
|
this.navigateToPanel(layoutService, paneCompositeService);
|
|
57
51
|
}
|
|
58
|
-
else if (neighborPart ===
|
|
52
|
+
else if (neighborPart === "workbench.parts.auxiliarybar" ) {
|
|
59
53
|
this.navigateToAuxiliaryBar(layoutService, paneCompositeService);
|
|
60
54
|
}
|
|
61
55
|
}
|
|
62
56
|
async navigateToPanel(layoutService, paneCompositeService) {
|
|
63
|
-
if (!layoutService.isVisible(
|
|
57
|
+
if (!layoutService.isVisible("workbench.parts.panel" )) {
|
|
64
58
|
return false;
|
|
65
59
|
}
|
|
66
|
-
const activePanel = paneCompositeService.getActivePaneComposite(
|
|
60
|
+
const activePanel = paneCompositeService.getActivePaneComposite(1 );
|
|
67
61
|
if (!activePanel) {
|
|
68
62
|
return false;
|
|
69
63
|
}
|
|
70
64
|
const activePanelId = activePanel.getId();
|
|
71
|
-
const res = await paneCompositeService.openPaneComposite(activePanelId,
|
|
65
|
+
const res = await paneCompositeService.openPaneComposite(activePanelId, 1 , true);
|
|
72
66
|
if (!res) {
|
|
73
67
|
return false;
|
|
74
68
|
}
|
|
75
69
|
return res;
|
|
76
70
|
}
|
|
77
71
|
async navigateToSidebar(layoutService, paneCompositeService) {
|
|
78
|
-
if (!layoutService.isVisible(
|
|
72
|
+
if (!layoutService.isVisible("workbench.parts.sidebar" )) {
|
|
79
73
|
return false;
|
|
80
74
|
}
|
|
81
|
-
const activeViewlet = paneCompositeService.getActivePaneComposite(
|
|
75
|
+
const activeViewlet = paneCompositeService.getActivePaneComposite(0 );
|
|
82
76
|
if (!activeViewlet) {
|
|
83
77
|
return false;
|
|
84
78
|
}
|
|
85
79
|
const activeViewletId = activeViewlet.getId();
|
|
86
|
-
const viewlet = await paneCompositeService.openPaneComposite(activeViewletId,
|
|
80
|
+
const viewlet = await paneCompositeService.openPaneComposite(activeViewletId, 0 , true);
|
|
87
81
|
return !!viewlet;
|
|
88
82
|
}
|
|
89
83
|
async navigateToAuxiliaryBar(layoutService, paneCompositeService) {
|
|
90
|
-
if (!layoutService.isVisible(
|
|
84
|
+
if (!layoutService.isVisible("workbench.parts.auxiliarybar" )) {
|
|
91
85
|
return false;
|
|
92
86
|
}
|
|
93
|
-
const activePanel = paneCompositeService.getActivePaneComposite(
|
|
87
|
+
const activePanel = paneCompositeService.getActivePaneComposite(2 );
|
|
94
88
|
if (!activePanel) {
|
|
95
89
|
return false;
|
|
96
90
|
}
|
|
97
91
|
const activePanelId = activePanel.getId();
|
|
98
|
-
const res = await paneCompositeService.openPaneComposite(activePanelId,
|
|
92
|
+
const res = await paneCompositeService.openPaneComposite(activePanelId, 2 , true);
|
|
99
93
|
if (!res) {
|
|
100
94
|
return false;
|
|
101
95
|
}
|
|
@@ -121,18 +115,18 @@ class BaseNavigationAction extends Action2 {
|
|
|
121
115
|
}
|
|
122
116
|
toGroupDirection(direction) {
|
|
123
117
|
switch (direction) {
|
|
124
|
-
case
|
|
125
|
-
case
|
|
126
|
-
case
|
|
127
|
-
case
|
|
118
|
+
case 1 : return 1 ;
|
|
119
|
+
case 2 : return 2 ;
|
|
120
|
+
case 3 : return 3 ;
|
|
121
|
+
case 0 : return 0 ;
|
|
128
122
|
}
|
|
129
123
|
}
|
|
130
124
|
toOppositeDirection(direction) {
|
|
131
125
|
switch (direction) {
|
|
132
|
-
case
|
|
133
|
-
case
|
|
134
|
-
case
|
|
135
|
-
case
|
|
126
|
+
case 0 : return 1 ;
|
|
127
|
+
case 3 : return 2 ;
|
|
128
|
+
case 2 : return 3 ;
|
|
129
|
+
case 1 : return 0 ;
|
|
136
130
|
}
|
|
137
131
|
}
|
|
138
132
|
doNavigateToEditorGroup(scope, editorGroupService) {
|
|
@@ -148,40 +142,40 @@ registerAction2(class extends BaseNavigationAction {
|
|
|
148
142
|
constructor() {
|
|
149
143
|
super({
|
|
150
144
|
id: 'workbench.action.navigateLeft',
|
|
151
|
-
title: ( localize2(
|
|
145
|
+
title: ( localize2(4464, 'Navigate to the View on the Left')),
|
|
152
146
|
category: Categories.View,
|
|
153
147
|
f1: true
|
|
154
|
-
},
|
|
148
|
+
}, 2 );
|
|
155
149
|
}
|
|
156
150
|
});
|
|
157
151
|
registerAction2(class extends BaseNavigationAction {
|
|
158
152
|
constructor() {
|
|
159
153
|
super({
|
|
160
154
|
id: 'workbench.action.navigateRight',
|
|
161
|
-
title: ( localize2(
|
|
155
|
+
title: ( localize2(4465, 'Navigate to the View on the Right')),
|
|
162
156
|
category: Categories.View,
|
|
163
157
|
f1: true
|
|
164
|
-
},
|
|
158
|
+
}, 3 );
|
|
165
159
|
}
|
|
166
160
|
});
|
|
167
161
|
registerAction2(class extends BaseNavigationAction {
|
|
168
162
|
constructor() {
|
|
169
163
|
super({
|
|
170
164
|
id: 'workbench.action.navigateUp',
|
|
171
|
-
title: ( localize2(
|
|
165
|
+
title: ( localize2(4466, 'Navigate to the View Above')),
|
|
172
166
|
category: Categories.View,
|
|
173
167
|
f1: true
|
|
174
|
-
},
|
|
168
|
+
}, 0 );
|
|
175
169
|
}
|
|
176
170
|
});
|
|
177
171
|
registerAction2(class extends BaseNavigationAction {
|
|
178
172
|
constructor() {
|
|
179
173
|
super({
|
|
180
174
|
id: 'workbench.action.navigateDown',
|
|
181
|
-
title: ( localize2(
|
|
175
|
+
title: ( localize2(4467, 'Navigate to the View Below')),
|
|
182
176
|
category: Categories.View,
|
|
183
177
|
f1: true
|
|
184
|
-
},
|
|
178
|
+
}, 1 );
|
|
185
179
|
}
|
|
186
180
|
});
|
|
187
181
|
class BaseFocusAction extends Action2 {
|
|
@@ -200,75 +194,75 @@ class BaseFocusAction extends Action2 {
|
|
|
200
194
|
let neighbour;
|
|
201
195
|
if (windowIsAuxiliary) {
|
|
202
196
|
switch (part) {
|
|
203
|
-
case
|
|
204
|
-
neighbour =
|
|
197
|
+
case "workbench.parts.editor" :
|
|
198
|
+
neighbour = "workbench.parts.statusbar" ;
|
|
205
199
|
break;
|
|
206
200
|
default:
|
|
207
|
-
neighbour =
|
|
201
|
+
neighbour = "workbench.parts.editor" ;
|
|
208
202
|
}
|
|
209
203
|
}
|
|
210
204
|
else {
|
|
211
205
|
switch (part) {
|
|
212
|
-
case
|
|
213
|
-
neighbour = next ?
|
|
206
|
+
case "workbench.parts.editor" :
|
|
207
|
+
neighbour = next ? "workbench.parts.panel" : "workbench.parts.sidebar" ;
|
|
214
208
|
break;
|
|
215
|
-
case
|
|
216
|
-
neighbour = next ?
|
|
209
|
+
case "workbench.parts.panel" :
|
|
210
|
+
neighbour = next ? "workbench.parts.auxiliarybar" : "workbench.parts.editor" ;
|
|
217
211
|
break;
|
|
218
|
-
case
|
|
219
|
-
neighbour = next ?
|
|
212
|
+
case "workbench.parts.auxiliarybar" :
|
|
213
|
+
neighbour = next ? "workbench.parts.statusbar" : "workbench.parts.panel" ;
|
|
220
214
|
break;
|
|
221
|
-
case
|
|
222
|
-
neighbour = next ?
|
|
215
|
+
case "workbench.parts.statusbar" :
|
|
216
|
+
neighbour = next ? "workbench.parts.activitybar" : "workbench.parts.auxiliarybar" ;
|
|
223
217
|
break;
|
|
224
|
-
case
|
|
225
|
-
neighbour = next ?
|
|
218
|
+
case "workbench.parts.activitybar" :
|
|
219
|
+
neighbour = next ? "workbench.parts.sidebar" : "workbench.parts.statusbar" ;
|
|
226
220
|
break;
|
|
227
|
-
case
|
|
228
|
-
neighbour = next ?
|
|
221
|
+
case "workbench.parts.sidebar" :
|
|
222
|
+
neighbour = next ? "workbench.parts.editor" : "workbench.parts.activitybar" ;
|
|
229
223
|
break;
|
|
230
224
|
default:
|
|
231
|
-
neighbour =
|
|
225
|
+
neighbour = "workbench.parts.editor" ;
|
|
232
226
|
}
|
|
233
227
|
}
|
|
234
|
-
if (layoutService.isVisible(neighbour, activeWindow) || neighbour ===
|
|
228
|
+
if (layoutService.isVisible(neighbour, activeWindow) || neighbour === "workbench.parts.editor" ) {
|
|
235
229
|
return neighbour;
|
|
236
230
|
}
|
|
237
231
|
return this.findVisibleNeighbour(layoutService, neighbour, next);
|
|
238
232
|
}
|
|
239
233
|
focusNextOrPreviousPart(layoutService, editorService, next) {
|
|
240
234
|
let currentlyFocusedPart;
|
|
241
|
-
if (editorService.activeEditorPane?.hasFocus() || layoutService.hasFocus(
|
|
242
|
-
currentlyFocusedPart =
|
|
235
|
+
if (editorService.activeEditorPane?.hasFocus() || layoutService.hasFocus("workbench.parts.editor" )) {
|
|
236
|
+
currentlyFocusedPart = "workbench.parts.editor" ;
|
|
243
237
|
}
|
|
244
|
-
else if (layoutService.hasFocus(
|
|
245
|
-
currentlyFocusedPart =
|
|
238
|
+
else if (layoutService.hasFocus("workbench.parts.activitybar" )) {
|
|
239
|
+
currentlyFocusedPart = "workbench.parts.activitybar" ;
|
|
246
240
|
}
|
|
247
|
-
else if (layoutService.hasFocus(
|
|
248
|
-
currentlyFocusedPart =
|
|
241
|
+
else if (layoutService.hasFocus("workbench.parts.statusbar" )) {
|
|
242
|
+
currentlyFocusedPart = "workbench.parts.statusbar" ;
|
|
249
243
|
}
|
|
250
|
-
else if (layoutService.hasFocus(
|
|
251
|
-
currentlyFocusedPart =
|
|
244
|
+
else if (layoutService.hasFocus("workbench.parts.sidebar" )) {
|
|
245
|
+
currentlyFocusedPart = "workbench.parts.sidebar" ;
|
|
252
246
|
}
|
|
253
|
-
else if (layoutService.hasFocus(
|
|
254
|
-
currentlyFocusedPart =
|
|
247
|
+
else if (layoutService.hasFocus("workbench.parts.auxiliarybar" )) {
|
|
248
|
+
currentlyFocusedPart = "workbench.parts.auxiliarybar" ;
|
|
255
249
|
}
|
|
256
|
-
else if (layoutService.hasFocus(
|
|
257
|
-
currentlyFocusedPart =
|
|
250
|
+
else if (layoutService.hasFocus("workbench.parts.panel" )) {
|
|
251
|
+
currentlyFocusedPart = "workbench.parts.panel" ;
|
|
258
252
|
}
|
|
259
|
-
layoutService.focusPart(currentlyFocusedPart ? this.findVisibleNeighbour(layoutService, currentlyFocusedPart, next) :
|
|
253
|
+
layoutService.focusPart(currentlyFocusedPart ? this.findVisibleNeighbour(layoutService, currentlyFocusedPart, next) : "workbench.parts.editor" , getActiveWindow());
|
|
260
254
|
}
|
|
261
255
|
}
|
|
262
256
|
registerAction2(class extends BaseFocusAction {
|
|
263
257
|
constructor() {
|
|
264
258
|
super({
|
|
265
259
|
id: 'workbench.action.focusNextPart',
|
|
266
|
-
title: ( localize2(
|
|
260
|
+
title: ( localize2(4468, 'Focus Next Part')),
|
|
267
261
|
category: Categories.View,
|
|
268
262
|
f1: true,
|
|
269
263
|
keybinding: {
|
|
270
|
-
primary:
|
|
271
|
-
weight:
|
|
264
|
+
primary: 64 ,
|
|
265
|
+
weight: 200
|
|
272
266
|
}
|
|
273
267
|
}, true);
|
|
274
268
|
}
|
|
@@ -277,12 +271,12 @@ registerAction2(class extends BaseFocusAction {
|
|
|
277
271
|
constructor() {
|
|
278
272
|
super({
|
|
279
273
|
id: 'workbench.action.focusPreviousPart',
|
|
280
|
-
title: ( localize2(
|
|
274
|
+
title: ( localize2(4469, 'Focus Previous Part')),
|
|
281
275
|
category: Categories.View,
|
|
282
276
|
f1: true,
|
|
283
277
|
keybinding: {
|
|
284
|
-
primary:
|
|
285
|
-
weight:
|
|
278
|
+
primary: 1024 | 64 ,
|
|
279
|
+
weight: 200
|
|
286
280
|
}
|
|
287
281
|
}, false);
|
|
288
282
|
}
|