First time here? Check out the FAQ!

Revision history  [back]

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?

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?

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?