Re: katepart for code completion?
Eric Laffoon <[email protected]>
| Newsgroups | gmane.comp.kde.devel.quanta.user |
|---|---|
| Organization | KDE WebDev |
| Message-ID | <[email protected]> |
On Tuesday 15 July 2008 3:33:36 pm pbhj wrote: > > Date: Tue, 15 Jul 2008 08:18:41 +0100 > > From: "Niko Sams" <[email protected]> > > Subject: Re: [Quanta] Quanta internal development information > > To: "Quanta users list" <[email protected]> > > > > [...] > > > > I've been working on a Php-parser and DUChain-builder in > > trunk/playground/devtools/kdevelop4-extra-plugins/php > > It's not yet usable (no code completion) - but parts of the DUChain is > > built allready. > > Still a long way to go however. > > > > Niko > > I'm curious Niko (it's a long time since I coded anything other than > Javascript, PHP or markup) but I thought that Quanta built on the katepart > for code completion <http://kate-editor.org/katepart>, syntax highlighting > and the like. Does KDE4 allow similar "parts" to be used. Surely the work > of code completion has been performed elsewhere already? Or did you just > want to do this work again? I know someone has to be first. Just curious. > > Cheers > > pbhj The mechanism is in the katepart. The actual completion is typically via XML. However in Quanta we can have much more complex things happening so additional rules come into play with our parser. To answer your question... it's never really that simple. ;-) -- Eric Laffoon Project Lead - kdewebdev module