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 )
Is this a common feature in other editors?
A number of editors allows you to press Alt+W (Window) and then 2 (second-from-top) to instantly switch between the two topmost windows. Obviously only working if the window menu gets constantly resorted based on focus depth.
But lots of editors using tabs makes life a pain for the user.
Andrew,
It is farely common, and is a big time saver when you're doing a lot of stare-n-compare or cut-n-paste between two mondules. Operations like this usually have both hands on the keyboard and the simple Ctrl-Tab ( via timing constraint ) confined to the last two modules speeds up work tremendously.
Without it, you have to cycle through all the open tabs during the aforementioned operations, which becomes very tedious.
Just a thought.
Without it, you have to cycle through all the open tabs during the aforementioned operations, which becomes very tedious. when I inherit projects there, almost invariable, are more "open tabs" than the tabline can hold.
WHY ON EARTH do so many people have tabs for files they do not currently work on?
I routinely close tabs when changing what I work on in a project.
the above problem could be solved by closing all tabs save the two in use.
Erik
There's a lot of times where having 6 or 8 files open is necessary, unless you want to spend time juggling which files are opened and which are not.
We could certainly debate this all day, but I have better things to do. Be honest: you've probably used editors where the last two viewed tabs are cotrolled with a time constraint, and it is a nice feature, no ?
you've probably used editors where the last two viewed tabs are cotrolled with a time constraint No, I use the Keil editor for mundane, minuscule things (e.g. misspell fixes), for editing, I use a REAL editor; CodeWright.
The original '***' in this thread should be replaced with: "Why can you not link a decent editor with the Keil IDE?" That way Keil could concentrate on what they are good at and leave the rest (editors) to others.
Does CodeWright switch between the last two viewed tabs using a time constraint ?
"I routinely close tabs when changing what I work on in a project."
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?
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.