Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2017-02

Jedi Code Formatter (JCF) issues

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

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

Reply by email

Tom Lisjac
to Graeme Geldenhuys

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 <

Show quoted text 30 lines
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 http://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190520/a85f538f/attachment.html>

Reply by email