'Navigate back within same editor group in VSCode

If I've two editor groups and when I go back alt+LeftArrow (workbench.action.navigateBack) it jumps between editor groups. I'd like to keep this navigation restricted to the current editor group. How do I do it?



Solution 1:[1]

A setting was just added, should be in v1.65:

Added a new setting workbench.editor.navigationScope that can be configured to editorGroup to limit navigation actions such as "Go back" and "Go forward" to the current active editor group.

workbench.editor.navigationScope: editorGroup

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1