Lazarus
Using the Lazarus IDE => Editor => Topic started by: willbprog9933 on June 01, 2022, 01:59:01 am
-
Greetings!
Using the forum's search function, I found this topic (https://forum.lazarus.freepascal.org/index.php/topic,23366.0.html) about adding spaces around the assignment operator when using autocomplete, but the web-page referenced in the answer doesn't appear to exist anymore, nor is there a copy on archive.org.
In case the Subject isn't clear, say I've typed:
then the autocomplete list automatically displays, then I choose "Caption" then hit Enter. What happens is this:
but I want it to do this
I don't like the 'rushed developer' style of smashing everything together -- I like spaces around things.
I've tried adjusting this in the JCF Format settings, but it doesn't appear to affect normal editor use.
Is there some way to adjust this? I cannot find it in the Editor preferences.
Thanks! :)
-
Tools > Options > codetools > space
And then before/after "symbol"
-
Tools > Options > codetools > space
Thanks Martin_fr,
I don't seem to have that menu option. I neglected to mention I'm running Lazarus 2.2.2 on macOS. Ah! There it is in Preferences. I did use the search feature in Preferences but I guess I was searching for the wrong thing.
Thank you! :D