code completion in Gideon

Sandy Meier smeier at kdevelop.org
Mon Jul 23 14:33:29 UTC 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

As I promised last week, I have imlemented a first "working" version of
CodeCompletion for KWrite and the PHP support. The PHP kpart parses for
member function completion and global functions (only 5 are available, as we
don't have the complete list (1500 methods) yet). If the parsing was
successful the PHP kpart calls the showCompletionBox() method in the
KEditor::CodeCompletion interface. The rest is handled by KWrite.

TODO:

KWrite /CodeCompletionInterface:
- - -the completionbox should be displayed under the cursor and not somewhere
 on the screen :-). (maybe someone who has more experience with KWrite can
 help me?)
- - - nice ListBox items (with colors,alignment,icons..)
- - - ToolTip for short method description
- - - ArgHint Box for methods (Victor?)

PHPSupport:
- - - more and better parsing. I think I will get an 60-70% hitrate in the next
   days.


If you want to test it, please generate or import a php application and type
"mys" in the editor.  If you want to test memberfunction completion you need
 a class with some methods.
Than you can type "$this->" and a completion box should be available.

Ciao!
Sandy

P.S: the current implemention is not optimized, but I will clean it up in the
next days and add some more C++ "deletes" into the code. :-)


- -- 
for verifying my signature or send encryted emails:
ftp://fara.cs.uni-potsdam.de/stud/smeier/public_key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1e-SuSE (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7XDW5NX6yrHxt6UARAk2/AJ9zMO5BUbHaMIRAM9LljF7m+OOacACgjgY6
PKVpPOAhV+IXhM3HntknyQQ=
=FFWS
-----END PGP SIGNATURE-----

-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop-devel mailing list