Kdevelop 2.1.3: Teasing you with my improved CodeCompletion ;-)

bretzel serge.lussier at videotron.ca
Wed Sep 25 19:25:04 UTC 2002


Hi there,
I had enough of having to go to QT/KDE docs when I need to have 
QT/KDE function prototypes... So I have modified my ClassPropertiesDlgImpl 
code and then CCodeCompletion file
to be able to call ClassStore with QT/KDE classes filenames. So -NO- need to
re-write the ClassStore engines. I just call it as I already do inside 
CClassPropertiesDlgImpl. 

1 - It's not working %100 but yet it is far better than just having access
to Project's only class files

2 - My system is a PIII 800 EB with 512 MB SDRAM. the delay is not more than
 1 1/2 seconds on QWidgets child classes.

3 - The algorithm doesn't know yet about "public: protected: private:" 
accesses.

4 - I would find a way to identify the classe's owner of each items showed in 
the codecomp. popup list - like:
+--------------------------+
|"acceptDrops()()::QWidget"|
|"evenFilter()::QObject"   |
|"myfunct()::myClass"      |
|"myVar::myClass"          |
|[...]                     |
+--------------------------+
...etc...
Then in CCodeCompletion code, filter the selected text to not grab the 
trailing "::ClassName"...
... Or maybe it is not worth it - I dunno.

Sorry for teasing you with that. I have put a screenshot of Kdev with popup 
ccode as ftp://ftp.kdevelop.org/incoming/Kdev-code-completion.png
Ciao!
Bretzel





More information about the KDevelop-devel mailing list