Formatting php & c++ in kdevelop 4
paulrwheeler at gmail.com
Sat May 30 17:18:23 UTC 2009
On 5/30/09, Andreas Pakulat <apaku at gmx.de> wrote:
> On 30.05.09 10:16:40, Paul Wheeler wrote:
> > I use a different style for my C++ and my php code. Is it possible to set
> > this up in kdevelop 4? (I am using svn HEAD from gentoo ebuilds). From the
> > source formatter page I can see a C++ in the type drop down but no php/html.
> Well, then astyle and/or indent do not support PHP I guess.
Unfortunately they dont according to their websites. :-( I just
presumed astyle would support it. Looking around I havent easily
found a formatter for php. There are a few out there but are far to
basic to be used regularly. I will have to be more rigorous when
Thanks for the reply.
> > If it is not possible is someone able to point me to the rough area of the
> > codebase where I would be able to see if I can add this? It is driving me
> > mad at the moment!!
> See astyle.sourceforge.net and http://www.gnu.org/software/indent/ for
> the two indenters we currently support. The codebase for the integration
> of the two is in kdevelop/formatters/. I'm not sure right now which
> astyle version we're using there.
> You will be imprisoned for contributing your time and skill to a bank robbery.
> kdevelop mailing list
> kdevelop at kdevelop.org
More information about the KDevelop