Bug 85718 - please implement php5.0.0 code completition and highligth support
Summary: please implement php5.0.0 code completition and highligth support
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: SVN
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 21:02 UTC by Imre Péntek
Modified: 2009-06-05 16:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imre Péntek 2004-07-22 21:02:10 UTC
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.
Comment 1 Piotr Szymański 2004-09-25 16:25:17 UTC
Begin moving the bug to kate and more specific info about it.
Comment 2 Piotr Szymański 2004-09-25 16:35:05 UTC
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?

Comment 3 Piotr Szymański 2004-09-25 16:36:04 UTC
Cc to kwrite devel.
Comment 4 Piotr Szymański 2004-09-25 17:03:37 UTC
also missing visibility scope definers: 
- self::
- parent::
Comment 5 Anders Lund 2004-09-25 17:47:01 UTC
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.
Comment 6 Sebastian Pipping 2007-10-06 03:02:43 UTC
Is this what you are asking for?:
http://www.kde-files.org/content/show.php/PHP+Syntax+Complited+for+PHP+5?content=38412
Comment 7 Imre Péntek 2007-10-07 15:42:09 UTC
I meant colouring (sintax highlight (for php 5.x function names (etc) too)), and ctrl-space code completion
Comment 8 Andreas Pakulat 2007-10-07 16:09:59 UTC
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.
Comment 9 Milian Wolff 2009-06-05 16:24:19 UTC
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.