Lazarus

Using the Lazarus IDE => Editor => Topic started by: lainz on March 19, 2018, 02:18:30 pm

Title: Pressing Tab: number of spaces
Post by: lainz on March 19, 2018, 02:18:30 pm
Hi, in Object Pascal what I understand is that the indenting is done with 2 whitespace.

Pressing Tab key gives me 4.

There is a way to configure it so pressing Tab key gives me 2 spaces only?

I'm used to VS Code that gives me the exact ammount of spaces that are used for indenting.

Thanks.
Title: Re: Pressing Tab: number of spaces
Post by: ASerge on March 19, 2018, 02:31:08 pm
There is a way to configure it so pressing Tab key gives me 2 spaces only?
Tools/Options/Editor/General/Tab and Indent
Title: Re: Pressing Tab: number of spaces
Post by: lainz on March 19, 2018, 04:29:54 pm
Tools/Options/Editor/General/Tab and Indent

Thanks.
It works how I need setting it to 2 and also disabling the "Smart tabs" option.
TinyPortal © 2005-2018