Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify tab size #1537

Open
timvahlbrock opened this issue Sep 5, 2024 · 1 comment
Open

Allow to specify tab size #1537

timvahlbrock opened this issue Sep 5, 2024 · 1 comment

Comments

@timvahlbrock
Copy link

timvahlbrock commented Sep 5, 2024

Is your feature request related to a problem? Please describe.
I switched to using tabs for indentation for accessibility reasons. In editors one can usually specify how much space a tab indentation corresponds. However, I haven't found such an option in carbon.

Describe the solution you'd like
An option to configure how much spaces a tab corresponds to.

Describe alternatives you've considered

  • Converting the code to space based indentation, which somewhat annoying (although it can be performed automatically by running the prettier option)
  • Sticking with default tab indentation.

Additional context
n/a

@timvahlbrock
Copy link
Author

Tabs are also not visualized by carbon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant