jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Ctrl-Tab to switch between files #195

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What change would like to see?
Pressing Ctrl-Tab advances to the next tab.
Pressing Ctrl-Shift-Tab switches to the previous tab.

Why?
The Ctrl-Tab behavior is so often implemented in applications that I, and
possibly many other developers, are very used to this.
Some applications allow you to just navigate through the tabs in a defined
order (like Firefox, Chrome and Internet Explorer).
Some even remember the order of tabs you've accessed and allow you to
switch between them in the accesses order (like Visual Studio, TextPad,
UltraEdit). Like Alt-Tab does in Windows, and probably on other OSes too.

Would this cause any incompatibilities with previous versions?  If so, how
can these be mitigated?
The only 'incompatibility' I can come up with is that people will not be
able to insert tabs while pressing Ctrl anymore. Though I think it's
unlikely anyone would do that.

An example of method 1:
- 3 tabs: "MainSketch", "Library.cpp", "Library.h"
- Currently in MainSketch
- Press (and release) Ctrl-Tab and switch to Library.cpp
- Press (and release) Ctrl-Tab again and switch to Library.h
- Press (and release) Ctrl-Tab again and switch to MainSketch

An exmaple of method 2:
- 3 tabs: "MainSketch", "Library.cpp", "Library.h"
- Currently in MainSketch
- Press (and release) Ctrl-Tab and switch to Library.cpp
- Press (and release) Ctrl-Tab again and switch to MainSketch
- Press (and release) Ctrl-Tab again and switch to Library.cpp
- Press (and hold) Ctrl, then Tab twice, and release both to switch to
Library.h

Original issue reported on code.google.com by qistoph on 30 Jan 2010 at 1:46