Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycle tabs via Ctrl-PageUp/PageDown #1749

Closed
spyder-bot opened this issue Feb 17, 2015 · 5 comments · Fixed by #2202
Closed

Cycle tabs via Ctrl-PageUp/PageDown #1749

spyder-bot opened this issue Feb 17, 2015 · 5 comments · Fixed by #2202

Comments

@spyder-bot
Copy link
Collaborator

From minzas...@gmail.com on 2014-03-04T06:21:23Z

Ctrl+Tab cycles through tabs, while Ctrl+PageUp/PageDown stops at last/first tab. This patch changes the behavior: when Ctrl+PageUp is pressed on the last tab, it moves to the first tab, and vice versa.

Attachment: cycle_tabs.patch

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1749

@vtraag
Copy link

vtraag commented Feb 24, 2015

Related to this, Ctrl+(Shift+)Tab cycles through tabs in order of usage, while Ctrl+PageUp/PageDown cycles through tabs in order of appearance. Cycling through tabs in order of usage is not really useful it seems (you get apparently inexplicable jumps from one tab to another, until you realize it cycles in order of usage).

@blink1073
Copy link
Contributor

@vtraag, I disagree that the cycling is not intuitive. Ideally, the tabs would automatically reorder to preserve "most-recentness", similar to what you get when you hit Alt+Tab for most recent processes. However, I'd argue that most times people are toggling back and forth between two files, regardless of the order they were opened in. For what its worth, we have the same behaviour as the Sublime Text editor.

@vtraag
Copy link

vtraag commented Feb 24, 2015

Indeed I'm often switching between two files, and then it's useful. The problem starts when you are searching for another file among the ones you have open... Anyway, I'm now just resorting to Ctrl+PageUp/PageDown, which works fine for my purposes.

@jondo
Copy link
Contributor

jondo commented Feb 25, 2015

+1 to the patch.

Ctrl+(Shift+)Tab cycles through tabs in order of usage [...] Cycling through tabs in order of usage is not really useful it seems

I think this would be useful, but for me this also just cycles in order of appearance (in Spyder 2.3.1 from WinPython-64bit-3.4.2.2.exe).

Ideally, the tabs would automatically reorder

No! Sometimes I want to define the order by myself, (see #564).

@blink1073
Copy link
Contributor

@jondo, by that I mean ideally for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment