Version: 3.0.1 (using KDE KDE 3.2.1) Installed from: Unlisted Binary Package Compiler: gcc version 3.3.2 Configured with: /var/uhubuild/work/compile/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,objc,java,f77,pascal --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --host=i386-pc-linux-gnu OS: Linux I think there's no more to add. php 5.0.0 is out, with some new functions, please implement code completition and highlight for it. Thanks.
Begin moving the bug to kate and more specific info about it.
Missing keywords in syntax highlighting: - private - public - protected - abstract - interface - final - implements - try, throw, catch Missing php bundled functions: - __*() functions used now in OO programming in php to overload functions that take object as their argument (__get,__set,__isset,__call, etc) and also __construct and __destruct - new php modules like sqlite?
Cc to kwrite devel.
also missing visibility scope definers: - self:: - parent::
For code php completion, please try quanta. Completing script sources requires a parser, which quanta has afaik. Wrt keywords in different language versions: it's my impression that quite a few sites continues using php 3 and 4, so it's probably best to provide different versions of the highlight.
Is this what you are asking for?: http://www.kde-files.org/content/show.php/PHP+Syntax+Complited+for+PHP+5?content=38412
I meant colouring (sintax highlight (for php 5.x function names (etc) too)), and ctrl-space code completion
The syntax highlighting doesn't highlight functions of a language, it only highlights builtin keywords. As far as code-completion goes: thats not part of the editor, you should open a wishlist bugreport for quanta. Maybe they'll implement that in kde4.
You should try the PHP plugin for KDevelop4 (which will eventually be used by Quanta4). It is still in development but already supports semantic highlighting, scoped code completion and more. Regarding missing highlighting I think this got fixed in the PHP language file for KWrite, since the keywords you mentioned all get highlighted for me. I'll close this report as fixed. If you have any specific problems, please report a new bugreport for each problem.