Status of the Source Formatter plugin
Hamish Rodda
rodda at kde.org
Thu Sep 11 22:44:29 UTC 2008
On Friday 12 September 2008 08:25:12 Cedric Pasteur wrote:
> Le Friday 12 September 2008 00:14:05 Hamish Rodda, vous avez écrit :
> > Hi,
> >
> > On Friday 12 September 2008 04:51:35 Cedric Pasteur wrote:
> > > Hi,
> > > The biggest part of the work for the source formatter plugin has been
> > > done. Currently, only astyle and GNU indent are supported, but adding
> > > more is easy. It just takes time to create the config dialog. The
> > > indent plugin cannot be configured yet, I'm waiting for the port of
> > > koproperty (in koffice/) to qt4 because there 's lot of options and a
> > > normal dialog won't be very usable.
> >
> > Thanks for your work :)
> >
> > > For all supported plugins, custom themes are supported.
> > > It is possible to format all the files in a directory (or a complete
> > > project) and the plugin will chose the backend corresponding to the
> > > mime type for each file, and even add kate modelines if needed.
> > >
> > > If you have any ideas of new features or if you find bugs, please tell
> > > me.
> >
> > I will be needing at some point a way to format generated and refactored
> > code (so just parts of a file) or at least a way to get the user's
> > formatting preferences so that new code can conform to them. Do you have
> > an api for either of these?
>
> I thik it would be quite easy to have such thing available. Currently it's
> in the plugin itself , not in the interface, so it's just about moving
> stuff around.
Ok, I would certainly appreciate that.
Cheers,
Hamish.
More information about the KDevelop-devel
mailing list