Skip to content

New behavior, now can customize the tabsizer - #122

Open
skapxd wants to merge 1 commit into
oderwat:masterfrom
skapxd:master
Open

New behavior, now can customize the tabsizer#122
skapxd wants to merge 1 commit into
oderwat:masterfrom
skapxd:master

Conversation

@skapxd

@skapxd skapxd commented Mar 20, 2022

Copy link
Copy Markdown

No description provided.

@oderwat

oderwat commented Mar 20, 2022

Copy link
Copy Markdown
Owner

What is this for? I can set the tab size in the editor and everything is fine. Your change creates a configurable tab size that overrides the one the editor reports. I for sure would never want this. I work on so many different file types, there is no "one" tab size that fits them all.

@4321louis

4321louis commented Jul 3, 2026

Copy link
Copy Markdown

I have a usecase but a different solution which I think is better generally.
I'm in a legacy code base which uses and indent size of 4 but each tab is given a size of 8. So in my vscode settings I have:
"editor.tabSize": 8, "editor.indentSize": 4,

By default editor.indentSize is set to "tabSize", perhaps it is more appropriate for this extension to look at indentSize rather than tabSize ?

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

Successfully merging this pull request may close these issues.

3 participants