File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/vs/workbench/browser/parts/editor Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2264,8 +2264,12 @@ abstract class AbstractCreateEditorGroupAction extends Action2 {
2264
2264
override async run ( accessor : ServicesAccessor ) : Promise < void > {
2265
2265
const editorGroupService = accessor . get ( IEditorGroupsService ) ;
2266
2266
2267
- const group = editorGroupService . addGroup ( editorGroupService . activeGroup , this . direction , { activate : true } ) ;
2268
- group . focus ( ) ;
2267
+ // We intentionally do not want the new group to be focussed so that
2268
+ // a user can have keyboard focus e.g. in a tree/list, open a new
2269
+ // editor group that is active and then arrow-up/down in the tree/list
2270
+ // to pick an editor to open in that group
2271
+
2272
+ editorGroupService . addGroup ( editorGroupService . activeGroup , this . direction , { activate : true } ) ;
2269
2273
}
2270
2274
}
2271
2275
You can’t perform that action at this time.
0 commit comments