Recent

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

lainz

  • Hero Member
  • *****
  • Posts: 4449
    • https://lainz.github.io/
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: 2212
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: 4449
    • https://lainz.github.io/
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.

 

TinyPortal © 2005-2018