<div dir="ltr"><div>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:</div><div><br></div><div>if something then</div><div> begin</div><div> statement;</div><div> statement</div><div> end</div><div><br></div><div>But no matter what combination of settings I try, JCF insists on doing either this:</div><div><br></div><div><div>if something then</div><div> begin</div><div> statement;</div><div> statement</div> end</div><div><br></div><div>or this:</div><div><div><div><br></div><div>if something then</div><div>begin</div><div> statement;</div><div> statement</div>end</div><div><br></div></div><div>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.</div><div><br></div><div>Thanks,</div><div><br></div><div>-Tom</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 28, 2017 at 11:45 AM Graeme Geldenhuys via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Is there an actual JCF (included with Lazarus) maintainer? I've recently<br>
been using it quite a bit and noticed a couple of problems. I'll<br>
obviously try and fix them myself (free time is very limited, but I'll<br>
try my best).<br>
<br>
The two most important ones for me:<br>
<br>
* Some code formatting is not applied (ignored) based on configuration<br>
settings.<br>
* Some configuration changes are not persisted, so user defined options<br>
can't actually be applied in the code formatting.<br>
<br>
Regards,<br>
Graeme<br>
<br>
-- <br>
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal<br>
<a href="http://fpgui.sourceforge.net/" rel="noreferrer" target="_blank">http://fpgui.sourceforge.net/</a><br>
<br>
My public PGP key: <a href="http://tinyurl.com/graeme-pgp" rel="noreferrer" target="_blank">http://tinyurl.com/graeme-pgp</a><br>
-- <br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus-ide.org" target="_blank">Lazarus@lists.lazarus-ide.org</a><br>
<a href="http://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus-ide.org/listinfo/lazarus</a><br>
</blockquote></div>