* * *

Author Topic: Pressing Tab: number of spaces  (Read 908 times)

lainz

  • Hero Member
  • *****
  • Posts: 2718
  • I'm coding :)
    • Lainz
Pressing Tab: number of spaces
« 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.

ASerge

  • Hero Member
  • *****
  • Posts: 767
Re: Pressing Tab: number of spaces
« Reply #1 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

lainz

  • Hero Member
  • *****
  • Posts: 2718
  • I'm coding :)
    • Lainz
Re: Pressing Tab: number of spaces
« Reply #2 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.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus