[Lazarus] How to get space before auto-inserted assignment?

Howard Page-Clark hdpc at talktalk.net
Fri Aug 16 11:22:40 CEST 2019


On 16/08/2019 09:57, Bo Berglund via lazarus wrote:
> I am used to having whitespace between names and operators, but
> Lazarus insists on putting := directly after a property when it
> autocompletes.
> So I get Canvas.Brush:=
> instead of Canvas.Brush :=
> Which is what I want.
> It is annoying to get unwanted help which every time has to be
> corrected....
> Presumably this is an IDE setting, but which?
>
> The editor settings is quite a maze to navigate so I would appreciate
> a hint on where to look.
> I am using Lazarus 2.0.4 on Windows 7.

Tools->Options dialog

In the treeview select the Codetools node, and Space page

"Insert space in front of" the Symbol checkbox must be checked.



More information about the lazarus mailing list