[RFC] KDev4 Ui

David Nolden zwabel at googlemail.com
Wed Nov 14 02:33:36 UTC 2007

On Wednesday 14 November 2007 02:59:07 Andreas Pakulat wrote:
> - UI for edit-history, this goes somewhat together with the above, the
>   people that have 20+ files open need either quick-open or edit-history
>   (or similar) to switch between files. Now kdev3 edit history has a
>   real bad drawback: You can't see where you're jumping to. If you know
>   you've edited file foo.cpp before doing edits in the current file,
>   you'll start jumping backwards, but you need to know the code or check
>   the titlebar to see when you found foo.cpp (if you edited multiple
>   locations in your current file).
>   My idea to solve this dilemma is attached, a small list of 11 items
>   that shows the current file and the last/next 5 entries in the
>   history. (history is a ringbuffer right?)
>   That should provide enough information to let you reasonably fast
>   switch back through edit history and we can even help resolving
>   multiple files with the same name problem by adding a url or project
>   in a second line. Of course the widget needs to be usable with mouse
>   and keyboard at the same time. I know adymo had a similar widget for
>   showing the list of open files hacked up already...

That looks nice, although, maybe it can be integrated with the already 
available document-list view? We could make the document-list somehow 
highlight the files you have last worked with, similar as I think it's done 
in kate. Then when you press the modifier-keys for your history browsing 
action, the list could show additional information, like "+1", "+2", "-1" to 
show you how many times you need to push "back" or "forward" to get there and 
some different color-highlighting to show you where you are jumping. The tabs 
could show the same information and highlighting.

All in all, I agree with what you've written. :)

greetings, David

More information about the KDevelop-devel mailing list