DEPENDS A LOT ON coding standards application (or layout as is your case) and still programmer.
Some leftists defend the use of TAB because it is somewhat universal, but this is counter-argued by the right wing who defend the use of spaces (usually 4) because TAB is susceptible to the application that interprets it as a "large space". but the counter-counter spaces argued with the fact that, programmatically, a TAB occupies less physical space than 4 common spaces.
Most apps define a TAB as something between 2-3cm. Others more, others less.
The least you can do is set up the IDE the way you’re used to at least having a comfortable visual experience. If the application does not support, make a regular global overwrite before starting and after it finishes from one format to another.
In this case, "tab-size" is the size of the "tab". It is not the same thing of size or indentation spacing, which can also be done through spaces.
– Marcelo Aymone
It is important not to let your IDE write in
soft tab
– neoprofit