@@ -35,6 +35,7 @@ abstract class BaseNavigationAction extends Action {
35
35
const isEditorFocus = this . layoutService . hasFocus ( Parts . EDITOR_PART ) ;
36
36
const isPanelFocus = this . layoutService . hasFocus ( Parts . PANEL_PART ) ;
37
37
const isSidebarFocus = this . layoutService . hasFocus ( Parts . SIDEBAR_PART ) ;
38
+ const isAuxiliaryBarFocus = this . layoutService . hasFocus ( Parts . AUXILIARYBAR_PART ) ;
38
39
39
40
let neighborPart : Parts | undefined ;
40
41
if ( isEditorFocus ) {
@@ -54,6 +55,10 @@ abstract class BaseNavigationAction extends Action {
54
55
neighborPart = this . layoutService . getVisibleNeighborPart ( Parts . SIDEBAR_PART , this . direction ) ;
55
56
}
56
57
58
+ if ( isAuxiliaryBarFocus ) {
59
+ neighborPart = neighborPart = this . layoutService . getVisibleNeighborPart ( Parts . AUXILIARYBAR_PART , this . direction ) ;
60
+ }
61
+
57
62
if ( neighborPart === Parts . EDITOR_PART ) {
58
63
if ( ! this . navigateBackToEditorGroup ( this . toGroupDirection ( this . direction ) ) ) {
59
64
this . navigateToEditorGroup ( this . direction === Direction . Right ? GroupLocation . FIRST : GroupLocation . LAST ) ;
@@ -62,6 +67,8 @@ abstract class BaseNavigationAction extends Action {
62
67
this . navigateToSidebar ( ) ;
63
68
} else if ( neighborPart === Parts . PANEL_PART ) {
64
69
this . navigateToPanel ( ) ;
70
+ } else if ( neighborPart === Parts . AUXILIARYBAR_PART ) {
71
+ this . navigateToAuxiliaryBar ( ) ;
65
72
}
66
73
}
67
74
@@ -100,6 +107,26 @@ abstract class BaseNavigationAction extends Action {
100
107
return ! ! viewlet ;
101
108
}
102
109
110
+ private async navigateToAuxiliaryBar ( ) : Promise < IComposite | boolean > {
111
+ if ( ! this . layoutService . isVisible ( Parts . AUXILIARYBAR_PART ) ) {
112
+ return false ;
113
+ }
114
+
115
+ const activePanel = this . paneCompositeService . getActivePaneComposite ( ViewContainerLocation . AuxiliaryBar ) ;
116
+ if ( ! activePanel ) {
117
+ return false ;
118
+ }
119
+
120
+ const activePanelId = activePanel . getId ( ) ;
121
+
122
+ const res = await this . paneCompositeService . openPaneComposite ( activePanelId , ViewContainerLocation . AuxiliaryBar , true ) ;
123
+ if ( ! res ) {
124
+ return false ;
125
+ }
126
+
127
+ return res ;
128
+ }
129
+
103
130
private navigateAcrossEditorGroup ( direction : GroupDirection ) : boolean {
104
131
return this . doNavigateToEditorGroup ( { direction } ) ;
105
132
}
0 commit comments