Jump to declaration UI

David Nolden zwabel+kde at gmail.com
Wed May 7 22:08:50 UTC 2008


On Wednesday 07 May 2008 19:53:51 Vladimir Prus wrote:
> On Wednesday 07 May 2008 21:00:18 Andreas Pakulat wrote:
> > On 07.05.08 19:06:07, Vladimir Prus wrote:
> > > Eclipse has a slick UI for jump to declaration -- if you press Ctrl,
> > > and hover a mouse over a symbol, it turns into a hyperlink, and
> > > clicking it gets you to the symbol. This seems hugely convenientl, and
> > > I'd like to implement same. Objections?
> >
> > +1 from me, even though I probably won't use it much, its probably very
> > useful for non-keyboard-centric people.
>
> Now with everybody in favour, I guess I get to figure how to make Kate do
> what I want :-)
>
> - Volodya

Perfectly fine with me. All the needed code is available in 
quickopenplugin.cpp, except for the kate part. While you're at it, you could 
also implement a tooltip ;). I've looked at your activetooltip thing, but did 
not intuitively know how to re-use it. Also I think it would be cool if the 
debugger tooltip and language tooltip would be within the same tooltip window 
when the debugger is active.

Btw. I think the needed stuff is ther within kate, I think it's possible to 
assign a cursor to smart-ranges, so you need to assign the "hand" cursor to 
all use-ranges when CTRL is pressed, and unassign it when the key is 
released.

Greetings, David





More information about the KDevelop-devel mailing list