Jump to declaration UI

Vladimir Prus ghost at cs.msu.su
Thu May 8 08:47:13 UTC 2008


On Thursday 08 May 2008 12:16:03 David Nolden wrote:
> On Thursday 08 May 2008 06:58:54 Vladimir Prus wrote:
> > Hmm, you'd connect to needTextHint signal, and in response to it, create an
> > instance of class derived from ActiveToolTip. Are there any specific
> > complexities?
> 
> No complexities I think. :)
> 
> > > 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.
> >
> > I'm not sure that will not overload the tooltip beyond reasonable bounds
> > :-)
> 
> Hmm yeah probably. But we also don't want 2 separate tooltips I think. Maybe 
> we should just show the debugger tooltip when the debugger is active, 

Yes, this seems best.

> and  
> else the language toolkit. But we should always show the language tooltip 
> when CTRL is pressed, that way you could always get it when you want the 
> information.

Hmm, are you suggesting that with Ctrl, both the names becomes hyperlink, and you
get a language tooltip for symbols? I was thinking that with Ctrl, symbols should
becomes hyperlink, plus, there should appear a small "down" button next to the symbol,
pressing which will popup a menu with various interesting operations.

> > > 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.
> >
> > But I don't see how to handle clicks, unfortunately.
> 
> What about putting an event-filter on the kate-view?

I'd much rather avoid this; I'll probably hack support for what I want and see
what Kate developers think about it.

- Volodya




More information about the KDevelop-devel mailing list