On Wed, 25 Jan 2017 11:28:21 +0000 Graeme Geldenhuys via Lazarus <lazarus@lists.lazarus-ide.org> wrote:
> Hi, > > As the subject lines says. If you set up the Jedi Code Formatting > options, is there a way to tell Lazarus to automatically format the unit > when you Ctrl+S (Save)? Eclipse IDE does that (and much more fine > grained if needed) with Java code, at it is actually super useful, and > always results in neatly laid out code. So I was wondering if Lazarus > IDE could do something similar with JCF, or would that require patches > to accomplish? There is only an event before saving all yet. I can add an event called before saving a source editor file. Would that help you? Does the JCF formatter work with bookmarks, folds and breakpoints? Mattias -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus