Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
Auto Format is off
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: Auto Format is off (Read 1442 times)
jfreak53
New member
Posts: 21
Auto Format is off
«
on:
May 29, 2011, 03:23:25 pm »
I just started using lazarus once more after a year or two and I noticed while typing it auto completed most of my code. Which is awesome since I come from Delphi 7, and we all know it doesn't do that ha ha
Problem is it is incorrectly formatting the ":=" code. It places that directly next to the previous text, like so:
Code:
[Select]
edit1.text:='me';
While in reality it should be:
Code:
[Select]
edit1.text := 'me';
Is there any place in the options to change the auto format and where I can separate that, it is driving my OCD crazy ha ha
Thanks.
Logged
Leledumbo
Hero Member
Posts: 2989
Re: Auto Format is off
«
Reply #1 on:
May 29, 2011, 03:42:16 pm »
Environment Options (or Tools->Options if you use snapshot / trunk)->Codetools->Space, check Symbol for both "insert in front of" and 'insert after".
Logged
FabienWang
Sr. Member
Posts: 424
Laz Laz Laz
Re: Auto Format is off
«
Reply #2 on:
May 29, 2011, 03:43:48 pm »
Go in the menu Environment->Options
Then in Codetools->Space:
insert space after
Check Identifier and Symbol.
You're done
Logged
FabienWang is using
Arch Linux
.
Projects: CPickSniff, OpenGrabby, LazPaint
jfreak53
New member
Posts: 21
Re: Auto Format is off
«
Reply #3 on:
May 29, 2011, 04:08:33 pm »
Beautiful!!
Thanks! Your saving me from the looney bin here
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Options
»
Auto Format is off
Recent
Q about capabilities of t...
by
mdlueck
[
Today
at 06:30:59 pm]
Cross Compile
by
Leledumbo
[
Today
at 05:23:05 pm]
TaChart ternary plot func...
by
wp
[
Today
at 05:08:44 pm]
Stable database?
by
BigChimp
[
Today
at 03:27:28 pm]
Lazarus 0.9.30.4 released
by
felipemdc
[
Today
at 03:08:45 pm]
Colored cells of a string...
by
paskal
[
Today
at 02:34:31 pm]
writeln fails to output t...
by
jack616
[
Today
at 02:18:10 pm]
[SOLVED] How to install l...
by
HexNihilo
[
Today
at 01:24:54 pm]
libUSB under win32
by
helloa
[
Today
at 01:20:01 pm]
[SOLVED] How to make a pu...
by
paskal
[
Today
at 01:14:38 pm]