History Navigation Proposal by Alexander

Matt Rogers mattr at kde.org
Sun Jun 10 15:35:24 UTC 2007


On Jun 10, 2007, at 9:23 AM, Andreas Pakulat wrote:

> Hi,
>
> on behalf of Alexander I present his proposals for history  
> navigation in
> Kdevelop4:
>
> The Task
> -------------
> Let's imagine we have KDevelop with two split views. In each view  
> user opened several files. Current state of the screen is:
> ---------------------------
> |  file3.cpp |  file4.cpp |
> |            |            |
> |            |            |
> ---------------------------
>
> Files previously opened in views are:
>   left view:    | right view:
>   1. file1.cpp  | 2. file2.cpp
>   3. file3.cpp  | 4. file4.cpp
>
> Numbers near the filenames indicate the order in which user opened  
> the files.
> This means the user:
>  opened file1.cpp
>  split the screen and opened file2.cpp
>  got back to the first view and opened file3.cpp
>  switched to the last view and opened file4.cpp
> Currently focus is in file4.cpp editor.
> Also let's assume Alt-Up/Down keys traverse the history Back/Forward
>
> Proposals
> ----------------
> v.1 In-View History Navigation
>    Back: show file2.cpp
>    Forward: show file4.cpp
> v.2 Global History Navigation With Switching
>    Back: switch to left view + focus file3.cpp
>    Back: switch to right view + show file2.cpp
>    Back: switch to left view + show file1.cpp
>    Forward: switch to right view + focus file2.cpp
>    Forward: switch to left view + show file3.cpp
>    Forward: switch to right view + show file4.cpp
> v.3 Global In-View History Navigation
>    Back: show file3.cpp
>    Back: show file2.cpp
>    Back: show file1.cpp
>    Forward: show file2.cpp
>    Forward: show file3.cpp
>    Forward: show file4.cpp
>
> Please comment.
>
> Andreas
>

My vote is for v1. It's the simplest of the bunch and it's probably  
best if we keep things simple.
--
Matt






More information about the KDevelop-devel mailing list