Ask Your Question
1

Moving between document tabs in consistent manner

asked 2021-05-21 06:07:13 -0500

dbdq gravatar image

updated 2021-05-21 09:45:00 -0500

Hello,

Let's assume I have 3 Python files opened in the editor, 3.py, 1.py, 2.py. I re-ordered them manually so that the 3 document tabs in the editor are ordered as: [1.py] [2.py] [3.py]

Now, I want to achieve a very basic and simple goal: I want a shortcut key that always either focuses to the "right" (or "left") document. That is, if I'm currently focused on [2.py] and I press the shortcut, it will focus on [3.py]. Pressed again, it will focus on [1.py] and so on. Left or right, it just needs to be consistent.

Wing's default "Next document" and "Previous Document" is very confusing because it follows the historical order in which the documents were opened. So, sometimes when I click "Next document", it may change the focus in [1.py]-[3.py]-[2.py] order. I personally find this behaviour random as there's no way I will (and should) remember the history of files I opened. I don't see any reason how this will improve my productivity.

I searched and spent quite a lot of time but failed to find an item in the menu that does this job. All editors I have used had this focusing policy as default so there must be a function in Wing Pro as well. Could you please tell me where I can find this function?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-05-21 09:44:51 -0500

It looks like Next/Previous Document in the Windows menu always more alphabetically, even if you've unchecked the Keep Tabs Alphabetized option and moved tabs around by dragging them. I think this is a bug and it should always move in tab order. We'll try to fix this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-05-21 06:07:13 -0500

Seen: 23 times

Last updated: May 24