Version: (using KDE Devel) Installed from: Compiled sources The diference for the one we have now, is the separation of the methods/properties by object. One example: - You inherit a class KMyWidget from QWidget. - You declare a KMyWidget *myWidget - When you do myWidget-> - Would apear a code completion list with 3 items( QObject, QWidget and KMyWidget ) - Inside each item would be the defined methods/properties for each class An other thing that would help...a tooltip with the documentation( same comment used for documentation ) as you hilight a method/property in the list. This tooltip could also contain the method(s)/property signature as issued in 52748
Created attachment 5172 [details] Example of how it yould look like Sorry about the drawing but....never was verry good at drawing ;)
It also would be very good to see icons before the items such as : Class Method Property Signal Slot protected private public and so on .... Well, my 2 cents ...
The tooltip now is implemented in svn. I don't think it would be very useful with that filter, because it would make the completion too complicated. Also the underlying completion-interface would not allow that right now. Although in the case of QObject it would be useful, since that contains a bit too many attributes. :) Realistic: I could add a filter for classes that should be excluded from the list.. like QObject
I think this should just wait until KDE 4, where the ktexteditor api covers sorting, filtering, grouping etc. in the editor component, and the application just has to pass the appropriate metadata in the completion model.
Still valid in 3.4, but as Hamish already said this has to wait until 4.0
we have all options at our hand in kdev4 and its working pretty well already.