Discussion:
file opening order
René J.V. Bertin
2016-04-19 09:54:32 UTC
Permalink
Hi,

I just verified something :
- newly opened files open in a tab to the right of the currently active editor tab
- unless they're the .h file that goes with an already open tab in which case they open to the left of that tab

Is there a reason for that this kind of inconsistency? Opening a header file to the left of the current tab if that tab holds the corresponding implementation file isn't that big a deal, but in that case I'd expect consistency in that headers always open to the left of the current tab (and any other behaviour as a switchable option).
When I open a header that's "unrelated" to the tab I'm currently working on that is to refer to some detail in over 95% of the cases. In that scenario I'd expect to be able to switch back to my working document with a single "next/previous open tab" shortcut, or by clicking on a tab that should still be in view in the large majority of cases.

Am I really an exception in this?

R.
Milian Wolff
2016-04-24 13:00:52 UTC
Permalink
Post by René J.V. Bertin
Hi,
- newly opened files open in a tab to the right of the currently active
editor tab - unless they're the .h file that goes with an already open tab
in which case they open to the left of that tab
Is there a reason for that this kind of inconsistency? Opening a header file
to the left of the current tab if that tab holds the corresponding
implementation file isn't that big a deal, but in that case I'd expect
consistency in that headers always open to the left of the current tab (and
any other behaviour as a switchable option). When I open a header that's
"unrelated" to the tab I'm currently working on that is to refer to some
detail in over 95% of the cases. In that scenario I'd expect to be able to
switch back to my working document with a single "next/previous open tab"
shortcut, or by clicking on a tab that should still be in view in the large
majority of cases.
Buddies get opened to another, in a certain order. I.e. if you have the .h
open and open the .cpp, it will be opened to the right, no? Disable this
plugin if you don't like it.

There is a "switch to next/previous document" shortcut, (ctrl + ) shift + tab.
Post by René J.V. Bertin
Am I really an exception in this?
Yes. Or at least you are the first to voice your opinions on it.

Bye
--
Milian Wolff
***@milianw.de
http://milianw.de
Loading...