Next time you're working on uVision, would you PLEASE put a timer on the Ctrl+Tab handler such that if the interval between events is longer than X, it only toggles between the last two tabs viewed?
Thanks, -RW
( if this is already available but I simply haven't found how to enable it, nevermind )
If you have 100 C files and similar number of h files, then 10 files open don't feel so very much.
You KNOW he'll find some way to debate that. It doesn't matter what you say.
Maybe I've not lived, but I for one have never heard of this as an option.
and I can't imagine an automatic flip between files (at least that is what I understand this is about) you are typing in a file and suddenly another file appears?
Erik
If you have 100 C files and similar number of h files, then 10 files open don't feel so very much. but that sounds reasonable to me
Look, I've got a mouse with a dodgy button that makes this happen all the time. If anyone wants to go between the two windows at random intervals, please get in contact and we can arrange a swap.
"but that sounds reasonable to me"
And when working, it is very, very often you need to very quickly move forward/backward between two or three files. Many, many times. So you want few (and fixed) key presses to repeatable perform this switch.
The editor Crimson, keeps a depth sort of all windows. So while each file is represented by a tab, the use of Ctrl+Tab once goes to the previously used file. Ctrl+Tab returns. Ctrl+Tab twice goes two windows deep. Simple, and efficient, to quickly switch files for the situation where it isn't better to place the windows above or beside each other to allow concurrent view.
Microsoft Visual Studio performs the same feat.
Some other programs instead resorts the list of accessed files in the Window menu. So Alt-W+2 toggles between the two top-most files. Alt-W+3 switches to third top-most window.
Microsoft Visual Studio uses this method too, besides the Ctrl+Tab function.
But having a function where Ctrl+Tab moves to next tab on right, and Shift+Ctrl+Tabl moves to next tab on left, really is a very worthless function - it really isn't common that the tabs happens to be already ordered in the order the developer may want to quickly switch. And with the Window menu showing the individual files using a fixed number, that alternative can't be used for quickly swapping either. People shouldn't have to close just about all tabs just to get the Window menu empty enough that the file switches can be performed without a need to specifically look at the window list or count a sometimes rather large number of key sequences.
"Ctrl+Tab once goes to the previously used file. Ctrl+Tab returns. Ctrl+Tab twice goes two windows deep"
So that's exactly the same as the way that Windows swaps between applications with Alt+TAB, then?
So I don't see where the timer comes in?
I've just tried this in Notepad++, and found it does this.
"doing a lot of stare-n-compare or cut-n-paste between two mondules."
For that kind of thing, I prefer to have the two modules both visible simultaneously...
which is why I have 2 monitors
But you still need to switch window, unless you are a mouse-bound worker...
Multiple monitors are good but one single monitor should normally be large enough for all source code. I use secondary monitors for other info - maybe debugging an application or reading pdf information or using a web browser. But all this is still irrelevant for people who works with the hands on the keyboard - then you do need keyboard commands if you want to efficiently switch between the windows.