File tree Expand file tree Collapse file tree
src/vs/workbench/browser/parts/editor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1063,12 +1063,11 @@ export class BaseQuickOpenEditorInGroupAction extends Action {
10631063 const stacks = this . editorGroupService . getStacksModel ( ) ;
10641064 if ( stacks . activeGroup ) {
10651065 const activePosition = stacks . positionOfGroup ( stacks . activeGroup ) ;
1066- const count = stacks . groups . length ;
10671066 let prefix = NAVIGATE_IN_GROUP_ONE_PREFIX ;
10681067
1069- if ( activePosition === Position . TWO && count === 3 ) {
1068+ if ( activePosition === Position . TWO ) {
10701069 prefix = NAVIGATE_IN_GROUP_TWO_PREFIX ;
1071- } else if ( activePosition === Position . THREE || ( activePosition === Position . TWO && count === 2 ) ) {
1070+ } else if ( activePosition === Position . THREE ) {
10721071 prefix = NAVIGATE_IN_GROUP_THREE_PREFIX ;
10731072 }
10741073
You can’t perform that action at this time.
0 commit comments