Move completion widget further up

Andreas Pakulat apaku at gmx.de
Fri Apr 24 09:11:56 UTC 2009


On 23.04.09 21:23:04, David Nolden wrote:
> Am Donnerstag 23 April 2009 21:08:31 schrieb Andreas Pakulat:
> > Hi,
> >
> > I've got a bit of a problem with the completion widget because most of
> > the time I'm adding new methods I do this at the end of the file, which
> > means that my cursor is at the bottom of the kate view. Can we make it
> > such that if the cursor is close to the bottom of the kate view (maybe
> > 1/5th of the height) that the completion widget then pops up above that
> > area? So for example if I have the cursor between pixel 160 and 200,
> > then the bottom of the completion should show up above pixel 160 or
> > something like that.
> >
> > As it is now, I sometimes can only see the "Implement" string as
> > everything else is cut by the screen bottom.
> 
> I've done a patch to kdelibs today to make the code-completion use the full 
> space at bottom until the end of the screen. Given that we waste quite a bit 
> vertical space at the bottom, and there's usually a panel, isn't that enough 
> room to show a completion list?

This is on my main screen, which runs kdevelop in maximized mode (not
fullscreen, but that would possibly have just even less space). I don't
have a bottom toolbar open (so just the toolbuttons, especially with alex
last patch) and I also don't have a panel on that screen. Hence there's
only the height of a toolbutton available for the completion popup.

> Additionally you could open the code-browser and be fine ;-)

Well, I like to see as much code as I can and when I write code I don't
need the codebrowser much :)

> The problem about popping it up at the top is the argument-hints, where to 
> move those then?

Put it on top, as I said I wasn't suggesting to move it to the top of the
page, just above the cursor, with enough space to see some of the code
before the cursor.

Andreas

-- 
Another good night not to sleep in a eucalyptus tree.




More information about the KDevelop-devel mailing list