First time here? Check out the FAQ!
1

Moving between document tabs in consistent manner

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?

dbdq's avatar
46
dbdq
asked 2021-05-21 06:07:13 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2021-05-21 09:45:00 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Wingware Support's avatar
4.2k
Wingware Support
answered 2021-05-21 09:44:51 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer