php formatter

Milian Wolff mail at milianw.de
Wed Jun 9 21:45:07 UTC 2010


Ruan Strydom, 09.06.2010:
> You know sometimes I don't know what I was thinking... Second phase
> completed... and committed.. Works ok.
> 
> Some problems:
> 
> The sgml formatter and the php formatter needs to work together, ie the
> sgml formatter should call the php formatter which means that the default
> formatter for application/x-php should be sgml, but the problem is that
> when I ask the controller for the application/x-php mime, I get my self
> and a endless recursive call.
> 
> Can I make changes to the controller, so that I can choose a formatter, ie
> QList<ISourceFormatter> getFormattersForMime(const KMimeType::Ptr
> &mime)....

Imo you should wait until I've pushed in my changes that make a language 
support only register to it's actualy mime types, not those of sourrounding 
files.

See other thread.

Bye
 
> On Wednesday 09 June 2010 15:38:12 Milian Wolff wrote:
> > Ruan Strydom, 09.06.2010:
> > > Commited a sample php beautifier.
> > > 
> > > Not complete but formats in the couple of tests that I ran.
> > > 
> > > Let me know if this will work or if there is problems.
> > 
> > coolio :)
> > 
> > will try it out shortly
> > 
> > bye


-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100609/3d099805/attachment.sig>


More information about the KDevelop-devel mailing list