Skip to content

Default tab size #4852

@IRCraziestTaxi

Description

@IRCraziestTaxi

In #1252 the request for CLI options or ability to reference .editorconfig for tab size when generating files was largely ignored. The reasoning was fair - too much effort for minimal impact on a matter of style, not functionality.

However, many, many comments were made that 4 spaces is by and large the accepted standard - basically universally accepted. @filipesilva stated that:

"The style guide has no recommendations on tabs vs spaces..."

So why not conform to the undisputed fact that 4 spaces is standard and make 4 spaces the default? I have seen nobody say that 2 spaces is preferred or even that it is not ugly and does not make code hard to read - quite the opposite, in fact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions