You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
✨ Navigate back and forward through history of viewed tabs #1109
changed the title [-]✨ Navigate back and forward through active tab history[/-][+]✨ Navigate back and forward through history of viewed tabs[/+]on Mar 5, 2023
I've added the following rules regarding the adding/removing of tabs to the history (in #1080).
I'm trying to match Xcode as close as possible, but I may be off by a bit so these rules might need to change a bit.
The history is represented as a stack (actually a deque, but I'll use a stack here as it's easier to explain). The last item on the stack is the last opened file.
When a new tab is opened, push it on the stack.
When the selected tab is closed, push the newly selected tab on the stack.
When an unselected tab is closed, push it on the stack and push the newly selected tab on the stack.
When a tab is selected, remove all tabs higher on the stack (represented by the "forward" arrow) and push the selected tab on the stack.
Activity
[-]✨ Navigate back and forward through active tab history[/-][+]✨ Navigate back and forward through history of viewed tabs[/+]Wouter01 commentedon Mar 5, 2023
I've added the following rules regarding the adding/removing of tabs to the history (in #1080).
I'm trying to match Xcode as close as possible, but I may be off by a bit so these rules might need to change a bit.
The history is represented as a stack (actually a deque, but I'll use a stack here as it's easier to explain). The last item on the stack is the last opened file.
austincondiff commentedon Mar 5, 2023
Thanks for laying this out and thinking this through @Wouter01, this makes a lot of sense.