Skip to content

Discussion - tabs vs spaces #5311

Open
Open
@bherila

Description

@bherila

re #5299

@wing328 this has been a big sticking point among JS developers I've worked with who are used to 2-space indents. The tabs were a compromise so they could keep their 2-spaces based on editor setting, while the rest of the world uses 4-space. I respect the official TS style guidelines, so not suggesting undoing #5299. But I am slightly disappointed because now I have to post-process swagger-codegen with a script to replace 4-space back to tabs.

Does it make sense to start a feature request for a setting to control tab size and/or spaces output? Would anyone besides me be supportive of it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions