Waking up an old thread as I'm also having trouble getting some basic formatting options to work with JCF in 2.0.2. I want the code to look like the following, which the fpc tools ptop formatter does by default:
if something then begin statement; statement end But no matter what combination of settings I try, JCF insists on doing either this: if something then begin statement; statement end or this: if something then begin statement; statement end I'd like to get this working out of the ide rather then having to break out to run ptop from the command line. Any suggestions would be greatly appreciated. Thanks, -Tom On Tue, Feb 28, 2017 at 11:45 AM Graeme Geldenhuys via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hi, > > Is there an actual JCF (included with Lazarus) maintainer? I've recently > been using it quite a bit and noticed a couple of problems. I'll > obviously try and fix them myself (free time is very limited, but I'll > try my best). > > The two most important ones for me: > > * Some code formatting is not applied (ignored) based on configuration > settings. > * Some configuration changes are not persisted, so user defined options > can't actually be applied in the code formatting. > > Regards, > Graeme > > -- > fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal > http://fpgui.sourceforge.net/ > > My public PGP key: http://tinyurl.com/graeme-pgp > -- > _______________________________________________ > Lazarus mailing list > Lazarus@lists.lazarus-ide.org > http://lists.lazarus-ide.org/listinfo/lazarus >
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus