Sign in Join

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

Mailing lists / lazarus / 2013-03

IDE autocomplete nuisance

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

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

stdreamer
to Xiangrong Fang
Xiangrong Fang wrote 8 lines
Hi All, While I use auto complete of a property, the IDE inserts ":=" for me automatically, this is good, but how can I make it auto insert a SPACE before the colon so that I don't need to get back and insert it myself everytime? Thanks

open the menu <Tools\Options> on the tree on the right select <Code Tools\Space> Insert a space before chekbox group check the colon.

This is not ideal since it will add to all colons even those used on variable definition which is ok for me I wanted there too.

Reply by email

Martin
to stdreamer
stdreamer wrote 15 lines
On 15/3/2013 3:56 ??, Xiangrong Fang wrote: > Hi All, > > While I use auto complete of a property, the IDE inserts ":=" for me > automatically, this is good, but how can I make it auto insert a SPACE > before the colon so that I don't need to get back and insert it myself > everytime? > > Thanks open the menu <Tools\Options> on the tree on the right select <Code Tools\Space> Insert a space before chekbox group check the colon. This is not ideal since it will add to all colons even those used on variable definition which is ok for me I wanted there too.

No:
Check "Insert Space in FRONT of Symbol"

Personally, I also do: "Insert Space AFTER " Colon,Comma,Semicolon,Symbol

Reply by email