Skip to content

Remove arbitrary tab size limit when configuring the current editor #247973

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

Open
Janfel opened this issue May 1, 2025 · 0 comments
Open

Remove arbitrary tab size limit when configuring the current editor #247973

Janfel opened this issue May 1, 2025 · 0 comments
Assignees

Comments

@Janfel
Copy link

Janfel commented May 1, 2025

When configuring the tab size for the current editor, whether using the status bar widget or the command palette, the user is limited to the values 1–8. This causes issues when the user wants to temporarily set the tab size to a large value, or has set a value > 8 in settings.json and wishes to switch tab sizes on the fly.

This restriction appears to be an arbitrary limitation in ChangeIndentationSizeAction. It does not exist when setting editor.tabSize in settings.json and the editor works just fine with values > 8. I would like this limitation to be removed so the user can type in any integer value into the selection box, just like they can set any integer value in settings.json.

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

No branches or pull requests

3 participants